help-make
[Top][All Lists]
Advanced

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

Re: How to automatically update a automatically generated dependence fil


From: Peng Yu
Subject: Re: How to automatically update a automatically generated dependence file?
Date: Fri, 24 Oct 2008 14:29:26 -0500

On Fri, Oct 24, 2008 at 12:53 PM, Philip Guenther <address@hidden> wrote:
> On Thu, Oct 23, 2008 at 10:45 PM, Peng Yu <address@hidden> wrote:
> ...
>> I'm not sure how to adapt it to my problem, as my problem arises when
>> the dependence file is modified externally. Would you please let me
>> know how to change my Makefile?
>
> You're worried about people putting incorrect data into dependency
> files?  What do you do when they put incorrect code into the C++
> source files, or edit the Makefile to be bogus?

The real problem is that I may change the filename of print.hpp (in a
refactoring process) after the dependency file was written. To
demonstrate an equivalent problem, I modify the dependency file as it
is easier than changing the code. Does the technique on
http://make.paulandlesley.org/autodep.html handle this situation?

Thanks,
Peng




reply via email to

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