help-make
[Top][All Lists]
Advanced

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

Re: suspicious code in remake.c


From: Boris Kolpackov
Subject: Re: suspicious code in remake.c
Date: Wed, 21 Apr 2004 15:13:43 -0500
User-agent: Mutt/1.5.4i

Actually here is an example:

-include foo

bar: foo baz


baz:
        @echo baz

Without the additional if() this second loop (which is presumably
there only for double-colon rules) builds 'baz' dependency. The
first loop bails out with break because there is no rule to 
make 'foo' but since it is dontcare target make doesn't bail out
completely (which is a bug too but this is another story ;-) ).


hth,
-boris

Attachment: signature.asc
Description: Digital signature


reply via email to

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