aboutsummaryrefslogtreecommitdiff
path: root/pdp_freeframe/Makefile.config
diff options
context:
space:
mode:
Diffstat (limited to 'pdp_freeframe/Makefile.config')
-rw-r--r--pdp_freeframe/Makefile.config25
1 files changed, 25 insertions, 0 deletions
diff --git a/pdp_freeframe/Makefile.config b/pdp_freeframe/Makefile.config
new file mode 100644
index 0000000..2d0444b
--- /dev/null
+++ b/pdp_freeframe/Makefile.config
@@ -0,0 +1,25 @@
+# if configure can't find the m_pd.h header
+# specify pd's include path here and ignore the warning
+#
+FF_PLUGIN_DIR=/usr/lib/FreeFrame
+PD_CPPFLAGS=-I/usr/src/pd-0.40-2/src
+PDP_CFLAGS=-I/usr/src/pdp-0.12.5-test-7/include -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -O2 -funroll-loops -fomit-frame-pointer -ffast-math -freg-struct-return -DLINUX
+
+prefix=/usr/local
+PDP_VERSION = 0.0.1
+PDP_TARGET = linux
+PDP_LIBRARY_NAME = pdp_freeframe.pd_linux
+
+PDP_CPPFLAGS = -I. -I/usr/X11R6/include -I../include -I../../include $(PD_CPPFLAGS)
+#--gstabs
+
+PDP_CFLAGS += -DPDP_VERSION=\"$(PDP_VERSION)\" -DFF_PLUGIN_DIR=\"$(FF_PLUGIN_DIR)\"
+
+CC = gcc
+
+# build rules
+
+.c.o:
+ $(CC) $(PDP_CFLAGS) $(PDP_CPPFLAGS) -o $*.o -c $*.c
+.s.o:
+ $(AS) -o $*.o $*.s $(PDP_AFLAGS)