diff options
Diffstat (limited to 'src/makefile_linux')
-rw-r--r-- | src/makefile_linux | 6 |
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 |