aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index 4d538da..78d52e2 100644
--- a/makefile
+++ b/makefile
@@ -8,7 +8,7 @@ TARGET = main
SRCS := $(wildcard *.c)
OBJS := $(patsubst %.c,%.o, $(SRCS))
-all: main
+all: $(TARGET)
%.o: %.c
$(CC) -c $(CFLAGS) $< -o $@