aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorThomas O Fredericks <mrtof@users.sourceforge.net>2009-09-16 19:26:52 +0000
committerThomas O Fredericks <mrtof@users.sourceforge.net>2009-09-16 19:26:52 +0000
commit2c289d13a01091afdcfacae1e3d43b5056aab15b (patch)
treeffbc903f41a0a45f380098db8572a6341b6546ec /test/Makefile
parentc50080a604e71fba7c86553fecdf03cfd56e7017 (diff)
Added a test folder
svn path=/trunk/externals/tof/; revision=12375
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 0000000..8b83adb
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,31 @@
+PARAM: param paramDump paramRoute paramFile
+
+current:
+ echo make pd_linux
+
+clean:
+ rm -f *.pd_linux *.o
+
+# ----------------------- LINUX i386 -----------------------
+
+#paramL: param.pd_linux
+
+#patchArguments: patchArguments.pd_linux
+
+.SUFFIXES: .pd_linux
+
+PDPATH = /home/tom/src/pure-data/pd
+
+LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
+ -Wall -W -Wshadow -Wstrict-prototypes \
+ -Wno-unused -Wno-parentheses -Wno-switch
+
+LINUXINCLUDE = -I$(PDPATH)/src
+
+#.pd_linux: .c
+
+.c:
+ cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
+ ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm
+ strip --strip-unneeded $*.pd_linux
+ rm $*.o