Subject: Re: make: making .WAIT recursive
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: David Laight <david@l8s.co.uk>
List: tech-toolchain
Date: 02/12/2006 18:20:01
On Sun, Feb 12, 2006 at 02:43:43PM +0100, Manuel Bouyer wrote:
> 
> In other words IMHO the problem is more in the makefiles than in
> make itself.

It causes a lot of problems because we have constructs like:

x:  a .WAIT b_list .WAIT c

b_list: b1 b2 b3 b4

b1: b1_dep_list
	b1_commands

To stop 'a' being built before 'b1' we'd have to factor out b_list
(as a make target), and use a make variable instead.
As well as problems keeping it up to date, the variable would need to
be set before the 'x:' line, which gives a massive re-ordering problem.

As for parallelism, there are plently of things that can run together.
Indeed most of the .WAIT commands expect this behaviour.

	David

-- 
David Laight: david@l8s.co.uk