aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-11-08 16:22:05 +0100
committerlonkaars <loek@pipeframe.xyz>2022-11-08 16:22:12 +0100
commit29fbbc7bf7be84f37ff613f9db30d68b79114b13 (patch)
tree8a5b88084c20d4f6c8328f8c0f29e3eb85071395
parentd211c4b102dbca3dffcedf81464ebec3b2e111bd (diff)
fix duplicate name in makefile
-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 $@