aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-06-06 11:38:25 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-06-06 11:38:25 +0000
commit00f76296a49d9f3ad22df42e0b4621acc1159fe5 (patch)
tree05107f111692f2aecdf2dba368fa59d496ca10ea
parent6c87994a6c91d7a578dc329f3dd5484aa34e0f0b (diff)
removed the removal of *.o files after compilation (eases re-compilation)
svn path=/trunk/externals/iemlib/; revision=3118
-rw-r--r--src/iem_mp3/makefile7
-rw-r--r--src/iem_t3_lib/makefile7
-rw-r--r--src/iemlib1/makefile7
-rw-r--r--src/iemlib2/makefile7
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