chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests/filter/.gitignore: Ignore all .tmp
[secnet.git]
/
cdeps.sd.mk
diff --git
a/cdeps.sd.mk
b/cdeps.sd.mk
index 402e687c6aa63153951e95e704d02f488a77d547..37438306abbdb1243bf18d4d01f16b0cf4fec28f 100644
(file)
--- a/
cdeps.sd.mk
+++ b/
cdeps.sd.mk
@@
-5,7
+5,7
@@
&# Usage:
&# &:include subdirmk/cdeps.sd.mk
&# Usage:
&# &:include subdirmk/cdeps.sd.mk
-&# (probably in
Perdir
.sd.mk)
+&# (probably in
Suffix
.sd.mk)
&#
&# Arranges for automatic #include dependency tracking for
&# C compilation. The compiler is asked to write the dependencies to
&#
&# Arranges for automatic #include dependency tracking for
&# C compilation. The compiler is asked to write the dependencies to
@@
-17,7
+17,9
@@
CDEPS_CFLAGS ?= -MD -MF $(*D)/.$(*F).d
CDEPS_CFLAGS ?= -MD -MF $(*D)/.$(*F).d
-&DEPFILES += $(foreach b,$(patsubst %.o,%,$(&OBJECTS)), \
+&CDEPS_OBJECTS += $(&OBJECTS)
+
+&DEPFILES += $(foreach b,$(patsubst %.o,%,$(&CDEPS_OBJECTS)), \
$(dir $b).$(notdir $b).d)
-include $(&DEPFILES)
$(dir $b).$(notdir $b).d)
-include $(&DEPFILES)