help-make
[Top][All Lists]
Advanced

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

Re: "Advanced Auto-Dependency Generation" question


From: Greg Chicares
Subject: Re: "Advanced Auto-Dependency Generation" question
Date: Tue, 16 Aug 2005 15:05:48 +0000
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

On 2005-8-16 8:28 UTC, Anna Olsson wrote:
> I've read the "Advanced Auto-Dependency Generation" article - but I'm
> wondering about this:
>  
> The solution to the second problem (make reports an error when the
> dependecy file does not exist) is to make make not care about whether or
> not dependency files exist. But what if a dependency file is accidentaly
> deleted? Make doesn't care, but the corresponding target will never be
> rebuilt until the corresponding .c file is altered or the .o file is
> removed.

If you have to support users who might delete dependency files
accidentally, then one remedy is to remove any .o file that
doesn't have a corresponding .d file, before doing anything else.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]