aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/build/make-lnx-pd-gcc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/build/make-lnx-pd-gcc.inc')
-rw-r--r--externals/grill/flext/build/make-lnx-pd-gcc.inc43
1 files changed, 43 insertions, 0 deletions
diff --git a/externals/grill/flext/build/make-lnx-pd-gcc.inc b/externals/grill/flext/build/make-lnx-pd-gcc.inc
new file mode 100644
index 00000000..2db3fe3d
--- /dev/null
+++ b/externals/grill/flext/build/make-lnx-pd-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