aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index de52773..576ff87 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,17 @@
-TARGET=sigpack
+TARGET := $(shell pwd | sed 's|.*/\(.*\)$$|\1|')
+EXTERNALS_ROOT := $(shell pwd | sed 's|^\(/.*externals\).*|\1|')
default:
- make -C ../ $(TARGET)
+ make -C $(EXTERNALS_ROOT) $(TARGET)
install:
- make -C ../ $(TARGET)_install
+ make -C $(EXTERNALS_ROOT) $(TARGET)_install
clean:
- make -C ../ $(TARGET)_clean
+ make -C $(EXTERNALS_ROOT) $(TARGET)_clean
+
+test_locations:
+ make -C $(EXTERNALS_ROOT) test_locations
+
+etags:
+ etags *.[ch] ~/cvs/pure-data/pd/src/*.[ch] /usr/include/*.h /usr/include/sys/*.h