Re: Doubts about .WAIT and .NOTPARALLEL (was: GNU Make 4.4 released!)

2022-10-31 Thread Paul Smith
On Mon, 2022-10-31 at 11:06 +0100, Alejandro Colomar wrote: > On 10/31/22 08:01, Paul Smith wrote: > > * New feature: The .WAIT special target > > I'm curious: what is .WAIT made for? As mentioned in the NEWS, it's _primarly_ there because the next release of the POSIX spec will require a

Re: Doubts about .WAIT and .NOTPARALLEL (was: GNU Make 4.4 released!)

2022-10-31 Thread Alejandro Colomar
Hi Eddy, On 10/31/22 14:52, Edward Welbourne wrote: I mean, considering the following example:   all: one two .WAIT three   one two three: ; @sleep 1; echo $@ It's the same as if it was written as   all: one two three   three: one two   one two three: ; @sleep

Re: Doubts about .WAIT and .NOTPARALLEL (was: GNU Make 4.4 released!)

2022-10-31 Thread Edward Welbourne
>>> I mean, considering the following example: >>> >>>  all: one two .WAIT three >>>  one two three: ; @sleep 1; echo $@ >>> >>> It's the same as if it was written as >>> >>>  all: one two three >>>  three: one two >>>  one two three: ; @sleep 1; echo $@ >>> >>> Isn't it?

Re: Doubts about .WAIT and .NOTPARALLEL (was: GNU Make 4.4 released!)

2022-10-31 Thread Edward Welbourne
On 10/31/22 08:01, Paul Smith wrote: >> * New feature: The .WAIT special target >>    If the .WAIT target appears between two prerequisites of a target, then >>    GNU Make will wait for all of the targets to the left of .WAIT in the list >>    to complete before starting any of the targets to the

Re: Doubts about .WAIT and .NOTPARALLEL (was: GNU Make 4.4 released!)

2022-10-31 Thread Alejandro Colomar
Hi Eddy, On 10/31/22 13:42, Edward Welbourne wrote: Alejandro Colomar (Monday, October 31, 2022 11:06) replied: I'm curious: what is .WAIT made for?  Isn't it just a workaround for broken dependencies? No. I mean, considering the following example: all: one two .WAIT three one

Doubts about .WAIT and .NOTPARALLEL (was: GNU Make 4.4 released!)

2022-10-31 Thread Alejandro Colomar
Hi Paul, On 10/31/22 08:01, Paul Smith wrote: * New feature: The .WAIT special target If the .WAIT target appears between two prerequisites of a target, then GNU Make will wait for all of the targets to the left of .WAIT in the list to complete before starting any of the targets to