aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/mac/pd
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/buildsys/mac/pd')
-rw-r--r--externals/grill/flext/buildsys/mac/pd/config-gcc.def18
-rw-r--r--externals/grill/flext/buildsys/mac/pd/make-gcc.inc10
2 files changed, 28 insertions, 0 deletions
diff --git a/externals/grill/flext/buildsys/mac/pd/config-gcc.def b/externals/grill/flext/buildsys/mac/pd/config-gcc.def
new file mode 100644
index 00000000..1f8ab2cd
--- /dev/null
+++ b/externals/grill/flext/buildsys/mac/pd/config-gcc.def
@@ -0,0 +1,18 @@
+# where is the PD installation?
+PDPATH=/usr/local/lib/pd
+
+# where is the PD executable?
+PDBIN=/usr/local/bin/pd
+
+# where should the external be installed?
+INSTPATH=$(PDPATH)/extra
+
+# where do the flext headers and libraries reside?
+FLEXTPATH=$(PDPATH)/flext
+
+# where should the external be built?
+OUTPATH=pd-darwin
+
+# user defined compiler flags
+# (check if they match your system!)
+OFLAGS=-O2 -mcpu=G4 -malign-natural -maltivec -faltivec
diff --git a/externals/grill/flext/buildsys/mac/pd/make-gcc.inc b/externals/grill/flext/buildsys/mac/pd/make-gcc.inc
new file mode 100644
index 00000000..05c2cd08
--- /dev/null
+++ b/externals/grill/flext/buildsys/mac/pd/make-gcc.inc
@@ -0,0 +1,10 @@
+DEFS += -DFLEXT_SYS=2
+
+INCPATH += -I$(PDPATH)/src
+LIBPATH += -L$(PDPATH)/bin
+
+LDFLAGS += -bundle -bundle_loader $(PDBIN)
+
+LIBS +=
+
+EXT=pd_darwin