aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-11-28 18:40:49 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-11-28 18:40:49 +0000
commit7804e0c5da47f480f2318542b10101a67ab2804e (patch)
tree3fdb9953cc371e513eeaa711c49c815245680a86
parent61017dbf07a1f497574cd9d5f4cdecb8c5285f2e (diff)
made jasch_lib build with standard dev layout and with Pd-extended
svn path=/trunk/externals/jasch_lib/; revision=6499
-rw-r--r--Makefile17
-rw-r--r--detox/makefile2
-rw-r--r--underscore/makefile2
3 files changed, 19 insertions, 2 deletions
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