aboutsummaryrefslogtreecommitdiff
path: root/src/iemlib1
diff options
context:
space:
mode:
Diffstat (limited to 'src/iemlib1')
-rw-r--r--src/iemlib1/makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/iemlib1/makefile b/src/iemlib1/makefile
index 0fe9c68..8be2976 100644
--- a/src/iemlib1/makefile
+++ b/src/iemlib1/makefile
@@ -53,15 +53,14 @@ OBJ = $(SRC:.c=.o)
#
clean:
- rm ../../lib/$(TARGET)
- rm *.o
+ -rm ../../lib/$(TARGET) $(TARGET)
+ -rm *.o
all: $(OBJ)
@echo :: $(OBJ)
ld $(LDFLAGS) -o $(TARGET) *.o $(LIB)
strip --strip-unneeded $(TARGET)
- mv $(TARGET) ../../lib
- rm *.o
+ -cp $(TARGET) ../../lib
$(OBJ) : %.o : %.c
touch $*.c