aboutsummaryrefslogtreecommitdiff
path: root/src/visualizations/fishBMC/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/visualizations/fishBMC/Makefile.in')
-rw-r--r--src/visualizations/fishBMC/Makefile.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/visualizations/fishBMC/Makefile.in b/src/visualizations/fishBMC/Makefile.in
new file mode 100644
index 0000000000..0c2141e153
--- /dev/null
+++ b/src/visualizations/fishBMC/Makefile.in
@@ -0,0 +1,32 @@
+ARCH=@ARCH@
+CXXFLAGS=-fPIC
+
+SLIB = @abs_top_srcdir@/addons/visualization.fishbmc/fishbmc.vis
+OBJS = analyst.o \
+ audiobuffer.o \
+ blurengine.o \
+ cpudetect.o \
+ fische.o \
+ fishbmc_addon.o \
+ screenbuffer.o \
+ vector.o \
+ vectorfield.o \
+ wavepainter.o
+
+ DEFINES += -DHAS_SDL
+ DEFINES += -DHAS_SDL_OPENGL
+ ifeq ($(findstring osx,$(ARCH)), osx)
+ LDFLAGS += -framework OpenGL
+ else
+ LDFLAGS += -lGL
+ endif
+
+
+$(SLIB): $(OBJS)
+ifeq ($(findstring osx,$(ARCH)), osx)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -bundle -o $(SLIB) $(OBJS)
+else
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -o $(SLIB) $(OBJS)
+endif
+
+include @abs_top_srcdir@/Makefile.include