On Sat, 2020-04-18 at 14:55 +0200, R. Diez wrote: > I will rephrase the question just in case it is not clear. I want GNU > Make to run recipe A, and then use the result of recipe A to compute > the value of a makefile variable, but only once. Other recipes that > follow should use that value without evaluating the variable > definition again.
You may find this trick from my blog to be helpful: http://make.mad-scientist.net/deferred-simple-variable-expansion/ Cheers!
