aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-04-16 19:19:57 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-04-16 19:19:57 +0000
commit2da3b12fd8b94934e3bde70692e650d6df694391 (patch)
treeb47f8bbad5295608403c85238b39148ff64f4b4f /Makefile
parent384e5e3a051d41236848d89533e2493f568f8542 (diff)
builds all of the externals now
svn path=/trunk/externals/hcs/; revision=573
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f18bc94
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+current:
+ echo make pd_linux
+
+clean: ; rm -f *.pd_linux *.o
+
+# ----------------------- LINUX i386 -----------------------
+
+pd_linux: pan_gogins~.pd_linux rawmouse.pd_linux rawevent.pd_linux rawjoystick.pd_linux
+
+.SUFFIXES: .pd_linux
+
+LINUXCFLAGS = -DUNIX -DPD -O2 -funroll-loops -fomit-frame-pointer \
+ -Wall -W -Wshadow -Wstrict-prototypes -Werror \
+ -Wno-unused -Wno-parentheses -Wno-switch -g
+
+LINUXINCLUDE = -I/usr/local/lib/pd/include -I../../pd/src
+
+.c.pd_linux:
+ cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
+ ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm
+ strip --strip-unneeded $*.pd_linux
+ rm $*.o
+