help-make
[Top][All Lists]
Advanced

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

Re: Prerequisite ordering - make 3.81


From: John Graham-Cumming
Subject: Re: Prerequisite ordering - make 3.81
Date: Tue, 23 Jan 2007 13:00:53 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Thom wrote:
> #############################################################
> target: one
> 
> target:
>         @echo "This operation is important. . ."
> 
> target: two
> 
> 
> one:
>         @echo "one"
> 
> two:
>         @echo "two"
> #############################################################
> 
> With make 3.80 I get the following output from processing this makefile:
> 
> one
> two
> This operation is important. . .
> 
> With make 3.81 I get this:
> 
> two
> one
> This operation is important. . .

I've just tested this and can confirm that you are right---there is a
change.   But there isn't any difference if the rule with commands has a
prerequisite:

all: foo

all: baz
        @echo $@

all: bar

foo bar baz:
        @echo $@

John.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFtfj1Lphrp73n/hARAg7wAKDrxwT+GsK5VzYUlMD8So1p+hIxYgCeKYIj
6eUe085PSB8o8EgZOXHE7m8=
=9kvO
-----END PGP SIGNATURE-----




reply via email to

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