On Fri, Oct 24, 2008 at 2:29 PM, Peng Yu <[EMAIL PROTECTED]> wrote: > On Fri, Oct 24, 2008 at 12:53 PM, Philip Guenther <[EMAIL PROTECTED]> wrote: >> On Thu, Oct 23, 2008 at 10:45 PM, Peng Yu <[EMAIL PROTECTED]> 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
Actually, I mean I may change the filename that are included by files included by print.hpp. > 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 > _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
