aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/build/make-mac-pd-gcc.inc
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-12-18 05:01:11 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-12-18 05:01:11 +0000
commite741586389de21efe0dd7fa1b0057c970e4c1a17 (patch)
treea6307013f3366f626a0a2893474e3ba67a7f8614 /externals/grill/flext/build/make-mac-pd-gcc.inc
parent4deb2e053f989ba20a9864c6171af844141f7f80 (diff)
updated build system for linux
updated make system for BCC build system for flext-based externals updated build system add xcode project comply to build system svn path=/trunk/; revision=2405
Diffstat (limited to 'externals/grill/flext/build/make-mac-pd-gcc.inc')
-rw-r--r--externals/grill/flext/build/make-mac-pd-gcc.inc43
1 files changed, 43 insertions, 0 deletions
diff --git a/externals/grill/flext/build/make-mac-pd-gcc.inc b/externals/grill/flext/build/make-mac-pd-gcc.inc
new file mode 100644
index 00000000..560c6ebb
--- /dev/null
+++ b/externals/grill/flext/build/make-mac-pd-gcc.inc
@@ -0,0 +1,43 @@
+DEFS += -DFLEXT_SYS=2
+
+INCPATH += -I$(PDPATH)/src
+LIBPATH += -L$(PDPATH)/bin
+
+LDFLAGS += -bundle -bundle_loader $(PDBIN)
+
+LIBS +=
+
+EXT=pd_darwin
+
+#########################################
+
+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