From 62de03526ce68d546d69344cf39aa32e1826aae4 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/bsaylor/; revision=5542 --- Makefile | 15 +++++++++++---- 1 file 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 -- cgit v1.2.1