aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-09 21:32:52 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-09 21:32:52 +0000
commit5f82d3122dba611dda0d2360ea962f0593144a6b (patch)
treefdbc524a356cc7dd93b7b0cf1a9e0663dd3169b6
parentb6fd82e05ec9b195af6e1031994a411b76bd03dd (diff)
updated makefile to the automatic version
svn path=/trunk/externals/sigpack/; revision=5542
-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