help-make
[Top][All Lists]
Advanced

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

Re: auto-dep cannot possibly work?


From: Stephan Beal
Subject: Re: auto-dep cannot possibly work?
Date: Mon, 16 Nov 2009 02:45:31 +0100

On Mon, Nov 16, 2009 at 2:19 AM, Mark Galeck (CW) <address@hidden> wrote:
>mv include1/foo.h include1/foobar.h

Now we are still in trouble.  Because the timestamp for foobar.h, created this way, would be as old as foo.h.  And so yes make will notice that the new foobar.h is there, but will think it  is an old file, older than include/foobar.h, and now again foobar.o will not be rebuilt.

If you mv a file, all files which included the old name must be edited, and therefore also rebuilt.

:-?
--
----- stephan beal
http://wanderinghorse.net/home/stephan/

reply via email to

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