diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2004-12-19 05:04:19 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2004-12-19 05:04:19 +0000 |
commit | 48c6d0ca4c82a190683380e45821159636080e51 (patch) | |
tree | 26f5606b683c0aa998ce68d1670fb5a528755c65 /externals/grill/flext/build/mac/pd | |
parent | f90c5622c0eb6fbecb35e2d1f9d4f37963d29f89 (diff) |
simplified make system
updated make system
svn path=/trunk/; revision=2412
Diffstat (limited to 'externals/grill/flext/build/mac/pd')
-rw-r--r-- | externals/grill/flext/build/mac/pd/config-gcc.def | 18 | ||||
-rw-r--r-- | externals/grill/flext/build/mac/pd/make-gcc.inc | 43 |
2 files changed, 61 insertions, 0 deletions
diff --git a/externals/grill/flext/build/mac/pd/config-gcc.def b/externals/grill/flext/build/mac/pd/config-gcc.def new file mode 100644 index 00000000..6409e901 --- /dev/null +++ b/externals/grill/flext/build/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/build/mac/pd/make-gcc.inc b/externals/grill/flext/build/mac/pd/make-gcc.inc new file mode 100644 index 00000000..560c6ebb --- /dev/null +++ b/externals/grill/flext/build/mac/pd/make-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
|