aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-09-08 17:23:13 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-09-08 17:23:13 +0000
commitb6e0dad883c7209db2ef069f3710e0d34bdc22c8 (patch)
tree4e32a93a1ff8be2b40a8013960543adbc6e7dbbd
parentdc14cd6b90f45f4a0643fdd5477a31159e1c1f31 (diff)
do the strip/cp in the post-build step
do it in the 'all' target rather than the '*.pd_linux' target svn path=/trunk/externals/iemlib/; revision=17557
-rw-r--r--Make.include4
1 files changed, 2 insertions, 2 deletions
diff --git a/Make.include b/Make.include
index 2e9de50..ca74728 100644
--- a/Make.include
+++ b/Make.include
@@ -45,14 +45,14 @@ clean:
-rm -f *.o
all: $(TARGET).$(EXT)
+ -cp $< ../../lib/
+ $(STRIP) --strip-unneeded ../../lib/$<
.PHONY: current clean all
$(TARGET).$(EXT): $(OBJ)
@echo :: $^
$(LD) $(PD_LDFLAGS) -o $@ $^ $(PD_LIB)
- $(STRIP) --strip-unneeded $@
- -cp $@ ../../lib/
$(OBJ) : %.o : %.c
$(CC) $(PD_CFLAGS) $(PD_INCLUDES) -c -o $@ $<