aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-07-29 21:16:44 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-07-29 21:16:44 +0000
commitfb5393893bf47ff5dbd57f0df4cba70cf5bd0a28 (patch)
tree7c0ef5ea6ab9f3f87e125740106f8024f01132fe
parent6b1e28a60e74050a965a55edbac8d6b96ea5ff9b (diff)
more liberal clean targetHEADsvn2git-headexternals/iem/iem_tab
don't stop if the binary is missing (but object-fiels are present). also, keep the binary in the local directory svn path=/trunk/externals/iem/iem_tab/; revision=17508
-rw-r--r--src/makefile_linux6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/makefile_linux b/src/makefile_linux
index 9a91e29..61c7a11 100644
--- a/src/makefile_linux
+++ b/src/makefile_linux
@@ -78,14 +78,14 @@ OBJ = $(SRC:.c=.o)
#
clean:
- rm ../$(TARGET)
- rm *.o
+ -rm ../$(TARGET) $(TARGET)
+ -rm *.o
all: $(OBJ)
@echo :: $(OBJ)
$(LD) $(LDFLAGS) -o $(TARGET) *.o $(LIB)
strip --strip-unneeded $(TARGET)
- mv $(TARGET) ..
+ cp $(TARGET) ..
$(OBJ) : %.o : %.c
$(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c