From a0377959dc5741dd4252249dcd7238b76fc28d9d Mon Sep 17 00:00:00 2001 From: MadMaurice Date: Fri, 1 Sep 2023 15:13:05 +0200 Subject: [PATCH] Makefile - Add TARGETS to clean-objs --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d5860fd..f7ed379 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ include Makeconf CXX_FLAGS += -MMD depfiles := $(wildcard *.d **/*.d) -clean-objs := $(foreach t,$(TARGETS),$(modules_$(t))) $(depfiles) +clean-objs := $(TARGETS) $(foreach t,$(TARGETS),$(modules_$(t))) $(depfiles) cmd = $(VERBOSE)g++ $(CXX_FLAGS) -o $@ $^ msg = $(or $(verb_$@),finalize) $@