aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/makefile.pd-darwin
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/tutorial/makefile.pd-darwin')
-rw-r--r--externals/grill/flext/tutorial/makefile.pd-darwin13
1 files changed, 12 insertions, 1 deletions
diff --git a/externals/grill/flext/tutorial/makefile.pd-darwin b/externals/grill/flext/tutorial/makefile.pd-darwin
index 3bd23066..ad8da699 100644
--- a/externals/grill/flext/tutorial/makefile.pd-darwin
+++ b/externals/grill/flext/tutorial/makefile.pd-darwin
@@ -25,8 +25,19 @@ LDFLAGS=-bundle -bundle_loader $(PD)
# all the source files from the package
-EXAMPLES=simple1 simple2 simple3 adv1 adv2 adv3 attr1 attr2 attr3 signal1~ signal2~ sndobj1~ 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_darwin,$(EXAMPLES))