aboutsummaryrefslogtreecommitdiff
path: root/tracker/makefile
diff options
context:
space:
mode:
authorN.N. <federico__@users.sourceforge.net>2007-09-20 08:25:26 +0000
committerN.N. <federico__@users.sourceforge.net>2007-09-20 08:25:26 +0000
commit43053b8b1ed8dade310703b08358b1b702897eaf (patch)
tree67a3218a91e50407854f850e5ccdfaa210310bd8 /tracker/makefile
parent4b9bb3a0789aac299eacd44bba6d3a5638091d95 (diff)
new gui external: tracker
svn path=/trunk/externals/ffext/; revision=8739
Diffstat (limited to 'tracker/makefile')
-rw-r--r--tracker/makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tracker/makefile b/tracker/makefile
new file mode 100644
index 0000000..826444f
--- /dev/null
+++ b/tracker/makefile
@@ -0,0 +1,18 @@
+all: tracker.pd_linux
+tracker.pd_linux: tracker.c tracker.h tracker.tk2c
+
+CFLAGS = -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer \
+ -Wall -W -Wno-shadow -Wstrict-prototypes \
+ -Wno-unused -Wno-parentheses -Wno-switch \
+ -I/usr/include -I../pd/src
+
+.SUFFIXES: .pd_linux .tk .tk2c
+
+.tk.tk2c:
+ sh 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
+clean:
+ rm -f *.o *.pd_* so_locations *.tk2c