Subject: Re: make depend
To: Ignatios Souvatzis <is@beverly.kleinbus.org>
From: James Chacon <jchacon@genuity.net>
List: tech-ports
Date: 09/01/2000 00:33:46
The only problem with the .depend file and make interactions are when
.h or .c files disappear from the tree. You'll simply get make errors at
that point and you'll have to either make cleandir;make or at a minimum rm
the .depend and make depend again.

Having some way to trap dependency check errors and have those kick off
rules would be kinda interesting. (i.e. it bitches about "can't find
file X" so that keys a rule to remake/reload the .depend somehow)

James

>
>On Wed, Aug 30, 2000 at 07:13:38PM -0500, John Maier wrote:
>> What does the 'make depend' do for you before (re)building a kernel?
>> 
>> I've always wondered.
>
>create a .depend file (and a few more for the lib/* subdirectories) which
>contains the dependencies, so that you can rebuild the kernel later after
>source changes without "make clean".
>
>	-is
>
>
>
>