aboutsummaryrefslogtreecommitdiff
path: root/src/iemlib1
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 /src/iemlib1
parent6c87994a6c91d7a578dc329f3dd5484aa34e0f0b (diff)
removed the removal of *.o files after compilation (eases re-compilation)
svn path=/trunk/externals/iemlib/; revision=3118
Diffstat (limited to 'src/iemlib1')
-rw-r--r--src/iemlib1/makefile7
1 files changed, 3 insertions, 4 deletions
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