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

Re: do I really need "make-kpkg clean"?

On Thu, 05 May 2005 00:13:00 +0200, Roel Schroeven
<rschroev_nospam_ml@fastmail.fm> said:  

> Makefiles are meant to deal with changes in the code itself, not
> with changes in config options. Make just looks at dependencies and
> file dates, not at the contents of those files. When you change a
> config option, a define is changed in a file that lots of other
> files have a dependency on, so all those files (and files that
> depend on it, and so on) are rebuilt.

> I think thiss a big drawback of make; one way to minimize the
> problem is using ccache.

        I think this is a drawback in your understanding of
 make. config files can, and do, just as easily appear in the
 dependency graph that make considers before taking action. This is
 not a make capability issue.

Victory or defeat!
Manoj Srivastava     <srivasta@acm.org>    <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

Reply to: