diff options
Diffstat (limited to 'src/iem_t3_lib')
-rw-r--r-- | src/iem_t3_lib/makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/iem_t3_lib/makefile b/src/iem_t3_lib/makefile index 9a177a7..22aaaf9 100644 --- a/src/iem_t3_lib/makefile +++ b/src/iem_t3_lib/makefile @@ -35,8 +35,8 @@ OBJ = $(SRC:.c=.o) # clean: - rm ../../lib/$(TARGET) - rm *.o + -rm ../../lib/$(TARGET) $(TARGET) + -rm *.o all: $(OBJ) @@ -44,8 +44,7 @@ all: $(OBJ) ld $(LDFLAGS) -o $(TARGET) *.o $(LIB) strip --strip-unneeded $(TARGET) - mv $(TARGET) ../../lib - rm *.o + cp $(TARGET) ../../lib $(OBJ) : %.o : %.c touch $*.c |