Follow-up Comment #6, bug #63650 (project make): I guess we might be saved by a weird behavior of GNU Make that I've long considered changing because it confuses people: when we are about to expand a recipe we expand all lines in the recipe at once, before we invoke the first line. This means that subsequent recipe lines can't observe changes to the environment based on changes in the system that were created by prior recipe lines, anyway.
In order for the behavior to be observed it would have to use *$(file ...)* in one expansion followed by a *$(wildcard ...)*. We could certainly make expansion of *$(file ...)* be another operation that would invalidate the environment. I kind of hate to add anything that increases reliance on this unpleasant (IMO) behavior of how recipes are expanded, however. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?63650> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/