aboutsummaryrefslogtreecommitdiff
path: root/src/iem_mp3/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/iem_mp3/makefile')
-rw-r--r--src/iem_mp3/makefile7
1 files changed, 3 insertions, 4 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