[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Command Dependecies broken
From: |
Johan Holmberg |
Subject: |
Re: Command Dependecies broken |
Date: |
Fri, 28 Jun 2002 10:19:51 +0200 (MEST) |
On Wed, 26 Jun 2002, Steven Allen wrote:
>
> Now I could imagine that cons thinks this is a itermediate file and it
> doesn't need to be rebuilt, but it really isn't in this case. I couldn't
> find anything in the man pages/FAQ stating that intermediate files are not
> rebuilt. And if I say "cons foo.2", then it is no longer an intermediate
> file... It is a target, and the the target has changed!!!!
>
Another alarming example is (using 2.3.0 or the latest CVS):
$ emacs foo.cpp # change the source file
$ cons foo
cc -c foo.cpp -o foo.o
cc -o foo foo.o
$
$ cp foo.cpp foo # or any other change to the target
$ cons foo
cons.pl: "foo" is up-to-date.
$
I had no idea that the 2.3.0 (and later) version was so totally
broken.
(I have never used it regurlary)
/Johan Holmberg