aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-09 21:32:52 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 13:36:00 +0200
commit62de03526ce68d546d69344cf39aa32e1826aae4 (patch)
tree15d8e0403b9db0be2050839007b941d2f00a8e41
parent2a5a823d12708ca0fa5c56347593afd9ce3b9b83 (diff)
updated makefile to the automatic version
svn path=/trunk/externals/bsaylor/; revision=5542
-rw-r--r--Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 24f589e..576ff87 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,17 @@
-TARGET=bsaylor
+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