From a14ef5526259ade204d5317d07ee21f4085f03d1 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 15 Sep 2025 09:56:08 +0200 Subject: [PATCH] fix: testing compilation does not correctly filter out `main.o` --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1bfc069..8830677 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ bin/$(NAME): $(OBJ) @$(CC) -o $@ $^ $(LDFLAGS) $(LDLIBS) # link together a testing binary -bin/TEST_$(NAME): $(TOBJ) $(filter-out main.o,$(OBJ)) +bin/TEST_$(NAME): $(TOBJ) $(filter-out obj/src/main.o,$(OBJ)) $(info [CC/LD] $@) @mkdir -p $(@D) @$(CC) -o $@ $^ $(LDFLAGS) $(LDLIBS)