chiark / gitweb /
Move knowledge of DEPFILES into cdeps.sd.mk
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 Nov 2019 22:11:47 +0000 (22:11 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 Nov 2019 22:12:25 +0000 (22:12 +0000)
No overall functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
subdirmk/cdeps.sd.mk
subdirmk/clean.sd.mk

index 6ba0bbb..5d58b6b 100644 (file)
@@ -9,3 +9,4 @@ CDEPS_CFLAGS ?= -MD -MF $(*D)/.$(*F).d
                $(dir $b).$(notdir $b).d)
 -include $(&DEPFILES)
 
+&CLEAN += $(&DEPFILES)
index 7df2e21..e235fcd 100644 (file)
@@ -5,7 +5,6 @@
 
 &CLEAN += & *~ *.tmp
 &CLEAN += $(&OBJECTS)
-&CLEAN += $(&DEPFILES)
 &CLEAN += $(&TARGETS)
 
 # &TARGETS_clean