tech-toolchain archive

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

Re: make: ignore stale .depend



On Fri, Nov 26, 2010 at 01:59:12PM +0000, Christos Zoulas wrote:
 > I have to say I don't like all this magic, 

Neither do I. Building ad hoc special case hacks into make to patch
over immediately visible problems is the traditional approach, but
that's what what's given us multiple make dialects full of hacks and
kludges.

Can we please instead try to figure out the real issue underlying the
overtly visible problem, and come up with a proper fix for that?

ISTM that handling the .depend file differently is entirely wrong, and
that if there's really any need for this (which I am not completely
convinced of) it should be done by having makedepend insert suitable
additional declarations into .depend, not by hacking up make.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index