Alexey Neyman wrote:
Cristophe,

On Monday 11 December 2006 15:50, Christophe LYON wrote:
I don't think so:
x2 will wait for x1 to complete, and x3 will wait for x2.

I applied it and tried it out:

[EMAIL PROTECTED]:~/work/make> cat mak
.PHONY: a b
a: x1 .WAIT x2
b: x2 .WAIT x3
x1 x2 x3:
        @echo start $@; sleep 1; echo finish $@
[EMAIL PROTECTED]:~/work/make> ./make/make -f mak -j a b
[...]
[EMAIL PROTECTED]:~/work/make> ./make/make -f mak -j b a
[...]

I see.
I knew this "feature"....

Indeed, when invoked with "b a", b is started first, and as x2 has no wait constraint yet, it starts immediately.

What would you expect? The same sequence in both cases?

Christophe.


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

Reply via email to