aboutsummaryrefslogtreecommitdiff
path: root/guile/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-15 07:43:25 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-15 07:43:25 +0000
commite1da63276dc159532c0e5258f69a5365568f598f (patch)
tree8baa7cff1f1f77cd8172d5975f8543c0675dd7eb /guile/Makefile
parentc3f5ea53917dea9c80751ee5809c7455589888be (diff)
This commit was generated by cvs2svn to compensate for changes in r4219,
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/pdp/; revision=4220
Diffstat (limited to 'guile/Makefile')
-rw-r--r--guile/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/guile/Makefile b/guile/Makefile
new file mode 100644
index 0000000..269f339
--- /dev/null
+++ b/guile/Makefile
@@ -0,0 +1,24 @@
+current: pd_linux
+
+pd_linux: pdp_guile.pd_linux
+
+.SUFFIXES: .pd_linux
+
+LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
+ -Wall -W -Wstrict-prototypes -Werror \
+ -Wno-unused -Wno-parentheses -Wno-switch # -Wshadow
+
+LINUXINCLUDE = -I../distro/pd/src -Idbot -I../include
+
+.c.pd_linux:
+ gcc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
+ gcc -export_dynamic -shared -o $*.pd_linux $*.o -lm \
+ -lguile #-lguile-ltdl -lqthreads -lpthread -lcrypt
+
+ strip --strip-unneeded $*.pd_linux
+ rm $*.o
+
+clean:
+ rm -f *.pd_linux
+ rm -f *~
+