[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #20501] "MAKEFLAGS += -rR" doesn't turn off default suffix rules, v
From: |
Hendrik de Goede |
Subject: |
[bug #20501] "MAKEFLAGS += -rR" doesn't turn off default suffix rules, variables |
Date: |
Thu, 24 Jan 2008 12:23:59 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 |
Follow-up Comment #7, bug #20501 (project make):
Does it matter that the built-in variables get set before reading makefiles?
I hope not.
I think the people involved in this project are clever enough to unset a
'default' variable if the make flag -R is encountered.
I mean, the 'origin' function in makefiles can determine just that, if its
value is default or not, so there must be some functionality in the sources to
determine so. I guess there's also some sort of functionality to loop through
all the defined variables.
Combine the two and what do you get?
Exactly what it should do... well, at least what I suggested :)
The documentation should then be updated to state that -r should come before
any rule, and -R before any inbuilt variable gets a conditional assignment
(the ?= assignment).
As for -r working properly, that's great, but then -p should be fixed.
p.s. The 'ifeq ($(filter -r,$(MAKEFLAGS)),)' isn't really needed, -r won't
get added twice.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20501>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #20501] "MAKEFLAGS += -rR" doesn't turn off default suffix rules, variables, Hendrik de Goede, 2008/01/23
- [bug #20501] "MAKEFLAGS += -rR" doesn't turn off default suffix rules, variables, Dave Korn, 2008/01/23
- [bug #20501] "MAKEFLAGS += -rR" doesn't turn off default suffix rules, variables, Hendrik de Goede, 2008/01/23
- [bug #20501] "MAKEFLAGS += -rR" doesn't turn off default suffix rules, variables, Dave Korn, 2008/01/23
- [bug #20501] "MAKEFLAGS += -rR" doesn't turn off default suffix rules, variables, Matt McCutchen, 2008/01/23
- [bug #20501] "MAKEFLAGS += -rR" doesn't turn off default suffix rules, variables, Boris Kolpackov, 2008/01/24
- [bug #20501] "MAKEFLAGS += -rR" doesn't turn off default suffix rules, variables,
Hendrik de Goede <=
- Re: [bug #20501] "MAKEFLAGS += -rR" doesn't turn off default suffix rules, variables, Philip Guenther, 2008/01/23
- Re: [bug #20501] "MAKEFLAGS += -rR" doesn't turn off default suffix rules, variables, Hendrik de Goede, 2008/01/23