> Date: Tue, 2 May 2006 16:01:36 -0400
> Cc: "grischka" <[EMAIL PROTECTED]>, [email protected]
> From: "Paul D. Smith" <[EMAIL PROTECTED]>
> 
> Since "T2" was already tried (and failed) during the "reading makefiles"
> phase, and then the error was ignored... it's not clear exactly how this
> should work.
> 
> Actually, in the example above the way make 3.81 works is pretty clearly
> correct.

Yes, I agree.

> The real question becomes if you switch T1 and T2 around...
> 
>     all: T2 T1
>     T1:; exit 101
>     T2:; exit 202
>     -include T2
> 
> Now, you get the first "exit 202" as part of the include, which is
> ignored.  Then, should make try to run "exit 202" again for T2 because
> of the all: target, and fail?  Or should it skip that target since it
> was already built, and continue on to "exit 101"?

I see the dilemma.  Thanks for the explanation.


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

Reply via email to