diff options
-rw-r--r-- | Makefile | 17 | ||||
-rw-r--r-- | detox/makefile | 2 | ||||
-rw-r--r-- | underscore/makefile | 2 |
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 |