aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-01-09 09:32:58 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-01-09 09:32:58 +0000
commiteb2f44fd30dd42c6f32d106c04c54311cfafa02e (patch)
treecea1bcb19ebb2c69fc4ab5635bafc0b407d75256
parent298694795f59f101e82760c804a4057848bb8c23 (diff)
put the pdsource path into a PDSOURCE variable, so it can be set from
outside svn path=/trunk/externals/iem/iem_spec2/; revision=7241
-rw-r--r--src/makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/makefile b/src/makefile
index fb74c4f..3cab05a 100644
--- a/src/makefile
+++ b/src/makefile
@@ -2,7 +2,9 @@ current: all
.SUFFIXES: .pd_linux
-INCLUDE = -I. -I/usr/local/src/pd/src
+PDSOURCE = /usr/local/src/pd/src
+
+INCLUDE = -I. -I${PDSOURCE}
LDFLAGS = -export-dynamic -shared
LIB = -ldl -lm -lpthread
@@ -52,8 +54,8 @@ OBJ = $(SRC:.c=.o)
#
clean:
- rm ../$(TARGET)
- rm *.o
+ rm -f ../$(TARGET)
+ rm -f *.o
all: $(OBJ)
@echo :: $(OBJ)