Update of bug #55560 (project make):
Status: None => Not A Bug
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #4:
I'm afraid I can't really understand the issue here. I recommend that you
discuss it on the [email protected] mailing list until the issue becomes clear
enough to file a bug about (or it's explained clearly). It's much simpler and
faster to use the mailing list for things like this. I'm going to close this
but we can re-open if/when the problem being reported becomes clear.
In particular you say it worked the first time but not the next time: what was
the difference there? We need a repro case (as simple as you can get it).
Some notes on your example:
First, you need to escape the : because make doesn't skip over escaped
variable references. If the : appears in a normal variable reference like
$(foo:.c=.o) make knows this : can't be a separator, but if the variable
reference is escaped like $$(foo:.c=.o) make thinks this is just some normal
text and will treat this : as if it were a rule separator. Consider a rule
like: some$$file:prereq ; echo hi
Second, this line:
all: $$(eval LIBRARY_OBJECTS \:= $$(OBJECTS)) $$(LIBRARY)
does _NOT_ define a target-specific variable LIBRARY_OBJECTS (maybe you know
that but it wasn't clear from your question). This defines a global variable
LIBRARY_OBJECTS, once the prerequisites of all are expanded (but not before.).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55560>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make