aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/makefile b/src/makefile
index d2a09df..37557e9 100644
--- a/src/makefile
+++ b/src/makefile
@@ -40,12 +40,11 @@ clean:
all: $(OBJ)
@echo :: $(OBJ)
- ld $(LDFLAGS) -o $(TARGET) *.o $(LIB)
+ $(LD) $(LDFLAGS) -o $(TARGET) *.o $(LIB)
strip --strip-unneeded $(TARGET)
$(OBJ) : %.o : %.c
- touch $*.c
- cc $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c
+ $(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c