Makefile - Add TARGETS to clean-objs

This commit is contained in:
madmaurice 2023-09-01 15:13:05 +02:00
parent 8703edbec8
commit a0377959dc

View file

@ -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) $@