tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make: dependfile preference list



On Thu, 19 Apr 2012 18:38:00 +0000, David Holland writes:
> > Being able to set .MAKE.DEPENDFILE (default .depend) is a big part of
> > that.
>
>I don't see how.

As you know make traditionally reads (in order)

sys.mk                  found via MAKESYSPATH
[mM]akefile             typically in .CURDIR
.depend                 typically in .OBJDIR

.depend isn't a good name for something that would be checked into 
the SCM - Makefile.depend or Makefile.depend.* are reasonable choices
for that.  

Requiring that each [mM]akefile explicitly .-include something 
a/ is clunky compared to the above
b/ as joerg pointed out loses the special handling of stale dependencies


Home | Main Index | Thread Index | Old Index