.d.obj:
$(DC) $(DFLAGS) -c $<
Ali
from http://digitalmars.com/ctg/make.html:
Implicit Definition lines
.targ_ext.dep_ext : [; rule] [# ... ]
Isn't targ_ext .obj and dep_ext .d?
If so, either the example or the documentation seems incorrect.
The example provided works. The .obj is updated when .d is
modified.
Using
.obj.d:
dmd $*.d -c
or
.obj.d:
dmd $< -c
don't work.
My conclusion is that the documentation at
http://digitalmars.com/ctg/make.html is incorrect. It should be:
Implicit Definition lines
.dep_ext.targ_ext : [; rule] [# ... ]