aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/makefile.pd-linux
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-01-02 04:37:31 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-01-02 04:37:31 +0000
commit10e0265429983876e2fd69950df4d51c8faf5635 (patch)
tree3e1c45e40bedd1b92225696ce955b902c4daf8e0 /externals/grill/flext/tutorial/makefile.pd-linux
parent59e66762250fe61d570c5baf6c9ce6896a09e027 (diff)
""
svn path=/trunk/; revision=316
Diffstat (limited to 'externals/grill/flext/tutorial/makefile.pd-linux')
-rw-r--r--externals/grill/flext/tutorial/makefile.pd-linux16
1 files changed, 14 insertions, 2 deletions
diff --git a/externals/grill/flext/tutorial/makefile.pd-linux b/externals/grill/flext/tutorial/makefile.pd-linux
index dadb861c..0bad96fb 100644
--- a/externals/grill/flext/tutorial/makefile.pd-linux
+++ b/externals/grill/flext/tutorial/makefile.pd-linux
@@ -13,7 +13,7 @@ FLEXTLIB=$(FLEXTPATH)/flext_t.a # take threaded library for all
# compiler+linker stuff ### EDIT! ###
-INCLUDES=$(PDPATH)/src
+INCLUDES=$(PDPATH)/src
LIBPATH=
FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS
CFLAGS=-O6 -mcpu=pentiumpro
@@ -25,7 +25,19 @@ LIBS=m
# all the source files from the package
-EXAMPLES=simple1 simple2 simple3 adv1 adv2 adv3 attr1 attr2 attr3 sndobj1~ signal1~ signal2~ lib1 thread1 thread2
+EXAMPLES=simple1 simple2 simple3 adv1 adv2 adv3 attr1 attr2 attr3 signal1~ signal2~ lib1 thread1 thread2
+
+ifdef SNDOBJ
+INCLUDES+=$(SNDOBJ)
+EXAMPLES+=sndobj1~
+LIBS+=sndobj
+endif
+
+ifdef STK
+INCLUDES+=$(STK)
+EXAMPLES+=stk1~ stk2~
+LIBS+=stk
+endif
TARGETS=$(patsubst %,$(OUTPATH)/%.pd_linux,$(EXAMPLES))