aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/build/lnx/pd
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/build/lnx/pd')
-rw-r--r--externals/grill/flext/build/lnx/pd/config-gcc.def15
-rw-r--r--externals/grill/flext/build/lnx/pd/make-gcc.inc43
2 files changed, 58 insertions, 0 deletions
diff --git a/externals/grill/flext/build/lnx/pd/config-gcc.def b/externals/grill/flext/build/lnx/pd/config-gcc.def
new file mode 100644
index 00000000..56ddc5d8
--- /dev/null
+++ b/externals/grill/flext/build/lnx/pd/config-gcc.def
@@ -0,0 +1,15 @@
+# where is the PD source package?
+PDPATH=/usr/local/src/pd-0.38-0test10
+
+# where should the external be installed?
+INSTPATH=/usr/local/lib/pd/extra
+
+# where do the flext headers and libraries reside?
+FLEXTPATH=/usr/local/lib/pd/flext
+
+# where should the external be built?
+OUTPATH=pd-linux
+
+# user defined compiler flags
+# (check if they match your system!)
+OFLAGS=-O2 -march=pentium4 -msse
diff --git a/externals/grill/flext/build/lnx/pd/make-gcc.inc b/externals/grill/flext/build/lnx/pd/make-gcc.inc
new file mode 100644
index 00000000..2db3fe3d
--- /dev/null
+++ b/externals/grill/flext/build/lnx/pd/make-gcc.inc
@@ -0,0 +1,43 @@
+DEFS += -DFLEXT_SYS=2
+
+INCPATH += -I$(PDPATH)/src
+LIBPATH += -L$(PDPATH)/bin
+
+LDFLAGS +=
+
+LIBS +=
+
+EXT=pd_linux
+
+#########################################
+
+ifdef SHARED
+# --- shared ---
+
+ifdef DEBUG
+LIBS += -lflext_d
+else
+LIBS += -lflext
+endif
+
+else
+ifdef THREADED
+# --- static multi-threaded ---
+
+ifdef DEBUG
+LIBS += $(FLEXTPATH)/libflext_td.a
+else
+LIBS += $(FLEXTPATH)/libflext_t.a
+endif
+
+else
+# --- static single-threaded ---
+
+ifdef DEBUG
+LIBS += $(FLEXTPATH)/libflext_d.a
+else
+LIBS += $(FLEXTPATH)/libflext.a
+endif
+
+endif
+endif