From 5f82d3122dba611dda0d2360ea962f0593144a6b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 9 Aug 2006 21:32:52 +0000 Subject: updated makefile to the automatic version svn path=/trunk/externals/sigpack/; revision=5542 --- Makefile | 15 +++++++++++---- 1 file 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 -- cgit v1.2.1