From 29fbbc7bf7be84f37ff613f9db30d68b79114b13 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 8 Nov 2022 16:22:05 +0100 Subject: fix duplicate name in makefile --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $@ -- cgit v1.2.3