From 7804e0c5da47f480f2318542b10101a67ab2804e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 28 Nov 2006 18:40:49 +0000 Subject: made jasch_lib build with standard dev layout and with Pd-extended svn path=/trunk/externals/jasch_lib/; revision=6499 --- Makefile | 17 +++++++++++++++++ detox/makefile | 2 +- underscore/makefile | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..576ff87 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +TARGET := $(shell pwd | sed 's|.*/\(.*\)$$|\1|') +EXTERNALS_ROOT := $(shell pwd | sed 's|^\(/.*externals\).*|\1|') + +default: + make -C $(EXTERNALS_ROOT) $(TARGET) + +install: + make -C $(EXTERNALS_ROOT) $(TARGET)_install + +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 diff --git a/detox/makefile b/detox/makefile index d836eef..6e4c3db 100644 --- a/detox/makefile +++ b/detox/makefile @@ -64,7 +64,7 @@ LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC \ -Wall -W -Wshadow -Wstrict-prototypes \ -Wno-unused -Wno-parentheses -Wno-switch $(CFLAGS) -LINUXINCLUDE = -I../../src +LINUXINCLUDE = -I../../src -I../../../pd/src .c.pd_linux: $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c diff --git a/underscore/makefile b/underscore/makefile index 1a41c0e..bfbcc6a 100644 --- a/underscore/makefile +++ b/underscore/makefile @@ -64,7 +64,7 @@ LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC \ -Wall -W -Wshadow -Wstrict-prototypes \ -Wno-unused -Wno-parentheses -Wno-switch $(CFLAGS) -LINUXINCLUDE = -I../../src +LINUXINCLUDE = -I../../src -I../../../pd/src .c.pd_linux: $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c -- cgit v1.2.1