aboutsummaryrefslogtreecommitdiff
path: root/pdp_frei0r/Makefile.config
diff options
context:
space:
mode:
Diffstat (limited to 'pdp_frei0r/Makefile.config')
-rw-r--r--pdp_frei0r/Makefile.config22
1 files changed, 22 insertions, 0 deletions
diff --git a/pdp_frei0r/Makefile.config b/pdp_frei0r/Makefile.config
new file mode 100644
index 0000000..cf89221
--- /dev/null
+++ b/pdp_frei0r/Makefile.config
@@ -0,0 +1,22 @@
+# if configure can't find the m_pd.h header
+# specify pd's include path here and ignore the warning
+#
+FR_PLUGIN_DIR=/usr/local/lib/frei0r-1/
+PD_CPPFLAGS=-I/usr/local/pd/src
+PDP_CFLAGS=-I/usr/local/pd/pdp/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
+PDPF_VERSION = 0.1
+PDPF_TARGET = linux
+PDPF_LIBRARY_NAME = pdp_frei0r.pd_linux
+
+PDP_CPPFLAGS = -I. -I/usr/X11R6/include -I../include -I../../include $(PD_CPPFLAGS)
+
+PDP_CFLAGS += -DPDPF_VERSION=\"$(PDPF_VERSION)\" -DFR_PLUGIN_DIR=\"$(FR_PLUGIN_DIR)\"
+
+CC = gcc
+
+# build rules
+
+.c.o:
+ $(CC) $(PDP_CFLAGS) $(PDP_CPPFLAGS) -o $*.o -c $*.c