aboutsummaryrefslogtreecommitdiff
path: root/Make.include
diff options
context:
space:
mode:
Diffstat (limited to 'Make.include')
-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 $@ $<