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.


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to