aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/makefile.pd-linux
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/tutorial/makefile.pd-linux')
-rw-r--r--externals/grill/flext/tutorial/makefile.pd-linux13
1 files changed, 12 insertions, 1 deletions
diff --git a/externals/grill/flext/tutorial/makefile.pd-linux b/externals/grill/flext/tutorial/makefile.pd-linux
index 5c0a3cbc..7f1528e4 100644
--- a/externals/grill/flext/tutorial/makefile.pd-linux
+++ b/externals/grill/flext/tutorial/makefile.pd-linux
@@ -24,7 +24,7 @@ LIBS=m
# all the source files from the package
-EXAMPLES=simple1 simple2 simple3 adv1 signal1~ signal2~ thread1 thread2
+EXAMPLES=simple1 simple2 simple3 adv1 attr1 attr2 signal1~ signal2~ lib1 thread1 thread2
TARGETS=$(patsubst %,$(OUTPATH)/%.pd_linux,$(EXAMPLES))
@@ -55,3 +55,14 @@ clean:
rm -f $(OUTPATH)/*.o $(TARGETS)
+ifdef INSTPATH
+$(INSTPATH):
+ -mkdir $(INSTPATH)
+
+install:: $(INSTPATH)
+endif
+
+install:: $(patsubst %,$(OUTPATH)/%.pd_linux,$(EXAMPLES))
+ cp $^ $(INSTPATH)
+ chmod 755 $(patsubst %,$(INSTPATH)/%,$(notdir $^))
+ chown root.users $(patsubst %,$(INSTPATH)/%,$(notdir $^))