Follow-up Comment #1, bug #55560 (project make):
I think I have an understanding of what is happening here. Even though make is
processing a separate Target, it's still already performed a first pass on all
of the mentioned target'prerequisite lists s when entering the second
expansion phase. This is evident when attempting to generate new recipes from
within the context of a prerequisite list as you'll get errors about
generating new prerequisites.
Although not a bug, this seems like a heavy restriction. It would be great to
be able to leverage the target-specific variable system to generate
prerequisites to avoid bloating the global namespaces. Are there any
metaprogramming techniques that I could use to get around this limitation?
_______________________________________________________
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