aboutsummaryrefslogtreecommitdiff
path: root/tracker/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tracker/makefile')
-rw-r--r--tracker/makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/tracker/makefile b/tracker/makefile
index 826444f..1014845 100644
--- a/tracker/makefile
+++ b/tracker/makefile
@@ -1,6 +1,7 @@
all: tracker.pd_linux
tracker.pd_linux: tracker.c tracker.h tracker.tk2c
+STRIP = strip
CFLAGS = -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer \
-Wall -W -Wno-shadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch \
@@ -9,10 +10,10 @@ CFLAGS = -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer \
.SUFFIXES: .pd_linux .tk .tk2c
.tk.tk2c:
- sh tk2c.bash < $*.tk >$*.tk2c
+ ./tk2c.bash < $*.tk > $*.tk2c
.c.pd_linux:
$(CC) $(CFLAGS) -o $*.o -c $*.c
$(LD) -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm
- strip --strip-unneeded $*.pd_linux
+ $(STRIP) --strip-unneeded $*.pd_linux
clean:
- rm -f *.o *.pd_* so_locations *.tk2c
+ $(RM) -f *.o *.pd_* so_locations *.tk2c