On 05/23/2013 10:28 PM, Paul Smith wrote:
> On Wed, 2013-05-22 at 22:09 +0200, Stefano Lattarini wrote:
>> On 05/22/2013 06:56 PM, Paul Smith wrote:
>>> I've reworked the MFLAGS / MAKEFLAGS generation to be more regular and
>>> rigorous yesterday, for 4.0, and to preserve _some_ backward-compat; I
The issue is present both in all of make 3.81, make 3.82 and make
built from latest Git. Here is a script that demonstrates it:
$ cat foo.bash
#!/bin/bash
cat > GNUmakefile <<'END'
all := 0 1 2 3 4 5 6 7 8 9
default: $(all)
$(all):
@sleep 0.$$(($RANDOM % 10)); echo $@
END
On Wed, 2013-05-22 at 22:09 +0200, Stefano Lattarini wrote:
> On 05/22/2013 06:56 PM, Paul Smith wrote:
> > I've reworked the MFLAGS / MAKEFLAGS generation to be more regular and
> > rigorous yesterday, for 4.0, and to preserve _some_ backward-compat; I
> > had thought about this issue when I did s
On Thu, 2013-05-23 at 04:10 -0400, bug-make-ow...@gnu.org wrote:
> define PROGRAM_template =
This syntax is not available in GNU make 3.81. It was introduced in GNU
make 3.82. Thus the "PROGRAM_template" variable is not defined, and
expands to the empty string, and thus your eval does nothing.
>
> If your version is 3.80 or newer, please cut/paste (exactly) your
> makefile so we can see it.
>
I took the example from the documentation:
http://www.gnu.org/software/make/manual/html_node/Eval-Function.html#Eval-Function
$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foun