diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/iem_mp3/makefile | 7 | ||||
-rw-r--r-- | src/iem_t3_lib/makefile | 7 | ||||
-rw-r--r-- | src/iemlib1/makefile | 7 | ||||
-rw-r--r-- | src/iemlib2/makefile | 7 |
4 files changed, 12 insertions, 16 deletions
diff --git a/src/iem_mp3/makefile b/src/iem_mp3/makefile index 9994415..30fe266 100644 --- a/src/iem_mp3/makefile +++ b/src/iem_mp3/makefile @@ -30,8 +30,8 @@ OBJ = $(SRC:.c=.o) # clean: - rm ../../lib/$(TARGET) - rm *.o + -rm ../../lib/$(TARGET) $(TARGET) + -rm *.o all: $(OBJ) @@ -39,8 +39,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 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 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 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 |