From a55a5773570e56a1fb59887f1215f3d05a055700 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 25 Nov 2002 22:27:34 +0000 Subject: "" svn path=/trunk/; revision=243 --- externals/grill/flext/tutorial/makefile.pd-linux | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'externals/grill/flext/tutorial/makefile.pd-linux') 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 $^)) -- cgit v1.2.1