X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=blobdiff_plain;f=subdirmk%2Fcdeps.sd.mk;h=5a2bfb28df5bf2737c2c556eac31b1090c7b41db;hp=402e687c6aa63153951e95e704d02f488a77d547;hb=95bcfc013b7ec7ccf60e522409d71daa7464a2ee;hpb=6522f1c523c246d62441d717936704d7a7f1e979 diff --git a/subdirmk/cdeps.sd.mk b/subdirmk/cdeps.sd.mk index 402e687..5a2bfb2 100644 --- a/subdirmk/cdeps.sd.mk +++ b/subdirmk/cdeps.sd.mk @@ -17,7 +17,9 @@ 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)