aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorThomas O Fredericks <mrtof@users.sourceforge.net>2009-09-16 19:33:40 +0000
committerThomas O Fredericks <mrtof@users.sourceforge.net>2009-09-16 19:33:40 +0000
commit16592d0e97854cf49b4848bcf482547d5986c213 (patch)
treedfa13b33b1b789d43eba7aa164d87be948ea4749 /test/Makefile
parent2c289d13a01091afdcfacae1e3d43b5056aab15b (diff)
Changed my makefile
svn path=/trunk/externals/tof/; revision=12376
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 8b83adb..a651da9 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -16,6 +16,8 @@ clean:
PDPATH = /home/tom/src/pure-data/pd
+TOFPATH = ../src
+
LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
-Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
@@ -25,7 +27,7 @@ LINUXINCLUDE = -I$(PDPATH)/src
#.pd_linux: .c
.c:
- cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
+ cc $(LINUXCFLAGS) $(LINUXINCLUDE) -I $(TOFPATH) -o $*.o -c $*.c
ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm
strip --strip-unneeded $*.pd_linux
rm $*.o