Makefile: Remove make depend files by make distclean

Intermediate files of make depend like .ddc and .dds may remain
when make is interrupted. Remove them using make distclean.

Signed-off-by: SPRESENSE <41312067+SPRESENSE@users.noreply.github.com>
This commit is contained in:
SPRESENSE
2026-02-16 17:12:20 +09:00
committed by Alin Jerpelea
parent 56112efbd3
commit 72b67832ea
35 changed files with 35 additions and 0 deletions
+1
View File
@@ -267,6 +267,7 @@ clean:
distclean: clean
$(call DELDIR, bin)
$(call DELDIR, kbin)
$(call DELFILE, $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds))
$(call DELFILE, .depend)
$(Q) $(MAKE) -C nxfonts -f Makefile.sources distclean EXTRAFLAGS="$(EXTRAFLAGS)"