Follow-up Comment #1, bug #20501 (project make):
I'm using GNU make 3.81 through cygwin on Windows XP.
The -rR flags are not the only ones not working as expected (expected by me
at least), the option -S doesn't work as well.
However, when running a subsequent call from the Makefile, they all
Follow-up Comment #2, bug #20501 (project make):
As far as I can see this is not a bug, this is make performing exactly as
described in the manual. MAKEFLAGS is not a live way of controlling a running
make's behaviour, it is used solely for the purpose of passing down to a
recursive invocation
Follow-up Comment #3, bug #20501 (project make):
I think it is a bug.
To quote the make 3.81 documentation 'You can also set MAKEFLAGS in a
makefile, to specify additional flags that should also be in effect for that
makefile', in the same chapter you specified.
p.s. Indeed, I meant the
Follow-up Comment #4, bug #20501 (project make):
I'm sorry, I missed that! I think you're right; it is a bug.
___
Reply to this item at:
http://savannah.gnu.org/bugs/?20501
___
Message
On Jan 23, 2008 4:33 AM, Hendrik de Goede wrote:
To quote the make 3.81 documentation 'You can also set MAKEFLAGS in a
makefile, to specify additional flags that should also be in effect for that
makefile', in the same chapter you specified.
Unfortunately, it's not clear how MAKEFLAGS += -R
I see the problem, however I think the solution is 'rather' simple.
The MAKEFLAGS -r should be specified before any rule, and -R unsets
all defaults still set.
If this is unwanted, and for some reason these 2 flags won't be
supported from inside a Makefile, I would at least like the
possibility
Hi,
Dunno if the address is correct, I have the pdf of GNU make by Stallman,
McGrath, Smith, the July 2002 edition, I have a feeling taht at page 75 there is
a bug in the define PROGRAM_template, instead of $$($(1)_OBJ) should be
$$($(1)_OBJS)
Best regards and thanks for ur work,
Lorenzo
--
On 23 January 2008 17:01, Lorenzo CIAMPOLINI wrote:
Hi,
Dunno if the address is correct, I have the pdf of GNU make by Stallman,
McGrath, Smith, the July 2002 edition, I have a feeling taht at page 75
there is a bug in the define PROGRAM_template, instead of $$($(1)_OBJ)
should be
Follow-up Comment #6, bug #20501 (project make):
Actually adding -r to MAKEFLAGS does work. It just that -p still prints the
rules as if they were there. I use the following makefile fragment in our
build system to get rid of all built-in (suffix and pattern) rules:
# Remove all built-in rules.