aboutsummaryrefslogtreecommitdiff
path: root/stkdrone~/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-08-16 17:08:55 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-08-16 17:08:55 +0000
commit506b8e7dedb80d79bf015e47d92e8b8dd8284584 (patch)
tree6393e98add0a0ae7f92388665b3b6242977f5b64 /stkdrone~/Makefile
parent856eaf396d9a4d371a458a2c373a052bb72c8057 (diff)
added files straight from Yves' sources
svn path=/trunk/externals/unauthorized/; revision=864
Diffstat (limited to 'stkdrone~/Makefile')
-rw-r--r--stkdrone~/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/stkdrone~/Makefile b/stkdrone~/Makefile
new file mode 100644
index 0000000..5e621b0
--- /dev/null
+++ b/stkdrone~/Makefile
@@ -0,0 +1,33 @@
+NAME=stkdrone~
+CSYM=stkdrone_tilde
+STK_HOME=/usr/local/stk-3.2
+
+current: pd_linux
+
+pd_linux: $(NAME).pd_linux
+
+.SUFFIXES: .pd_linux
+
+LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
+ -Wall -W -Wshadow -Wstrict-prototypes -Werror \
+ -Wno-unused -Wno-parentheses -Wno-switch
+
+LINUXCCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
+ -Wall -W -Wshadow -Werror \
+ -Wno-unused -Wno-parentheses -Wno-switch -g
+
+LINUXINCLUDE = -I../../src -I/usr/local/include
+
+.cc.pd_linux: drone.o
+ g++ -O3 -Wall -D__OS_Linux_ -g -I$(STK_HOME)/include -c drone.cc
+ g++ $(LINUXCCFLAGS) $(LINUXINCLUDE) -I$(STK_HOME)/include -o $*.o -c $*.cc
+ ld -export_dynamic -shared -o $*.pd_linux *.o $(STK_HOME)/src/stklib.a -lc -lm -lstdc++ -lg++
+ strip --strip-unneeded $*.pd_linux
+ rm -f *.o ../$*.pd_linux
+ ln -s $*/$*.pd_linux ..
+
+clean:
+ rm -f *.o *.pd_* so_locations
+
+install:
+ cp help-*.pd *-freqs ../../doc/5.reference