From e741586389de21efe0dd7fa1b0057c970e4c1a17 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sat, 18 Dec 2004 05:01:11 +0000 Subject: 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 --- externals/grill/flext/build/make-mac-pd-gcc.inc | 43 +++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 externals/grill/flext/build/make-mac-pd-gcc.inc (limited to 'externals/grill/flext/build/make-mac-pd-gcc.inc') 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 -- cgit v1.2.1