aboutsummaryrefslogtreecommitdiff
path: root/src/iemlib2/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/iemlib2/makefile')
-rw-r--r--src/iemlib2/makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/iemlib2/makefile b/src/iemlib2/makefile
index 0252424..1d44eba 100644
--- a/src/iemlib2/makefile
+++ b/src/iemlib2/makefile
@@ -71,15 +71,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