[m-dev.] for review: fix handling of $(MLOBJS) dependencies

Tyson Dowd trd at cs.mu.OZ.AU
Fri Mar 20 16:27:00 AEDT 1998


On 20-Mar-1998, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> Tyson, can you please review this one?
> 
> Estimated hours taken: 0.5
> 
> Fix the handling of dependencies on $(MLOBJS) and $(MLPICOBJS)
> so that we don't reinvoke the linker for every make, even when
> the executable(s) are already up-to-date.
> 
> scripts/Mmake.rules:
> 	Delete the MLOBJS and MLPICOBJS targets.
> 	Add `$(MLOBJS_DEPS) : $(MLOBJS)', and likewise for $(MLPICOBJS).
> 
> compiler/modules.m:
> 	When generating the `.dep' files, instead of using the MLOBJS
> 	and MLPICOBJS phony targets, record dependencies of files on
> 	$(MLOBJS) by adding those files to $(MLOBJS_DEPS),
> 	and likewise for $(MLPICOBJS).

This change looks fine.  Thanks.




More information about the developers mailing list