aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/makefile b/src/makefile
index cb8b982..0291159 100644
--- a/src/makefile
+++ b/src/makefile
@@ -68,13 +68,14 @@ OBJ = $(SRC:.c=.o)
#
clean:
- rm $(TARGET)
+ rm ../$(TARGET)
rm *.o
all: $(OBJ)
@echo :: $(OBJ)
$(LD) $(LDFLAGS) -o $(TARGET) *.o $(LIB)
strip --strip-unneeded $(TARGET)
+ mv $(TARGET) ..
$(OBJ) : %.o : %.c
$(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c