On 05/14/2012 05:10 PM, Paul Smith wrote: > On Mon, 2012-05-14 at 00:14 +0200, Stefano Lattarini wrote: > >>>> LAZYVAR = $(override LAZYVAR := val)$(LAZY) >>> >>> I don't have any idea what this is supposed to do... it doesn't make any >>> sense as written. >>> >> In fact, it should have been s/$(LAZY)/$(LAZYVAR)/. Sorry for the confusion. > > It still doesn't make sense to me. There is no function "override"...? > > Did you mean $(eval override LAZYVAR := val) maybe? > *Facepalm*! Yes, I did mean exactly this. Sorry for the mess, and thanks for the patience.
>>> Can you describe in words what you're looking for? >>> >> Basically, a new kind of assignment that do not expand the right-hand side >> at definition time, but which causes the value the variable expands to the >> first time it gets dereferenced to be cached, and reused in any successive >> expansion of that same variable. > > I see. I know of other variants of make that have this type of > assignment. > Oh, good, I wasn't aware of this fact (it means that my request is not completely meaningless, at least :-). BTW, do you know which are these versions of make? Best regards, Stefano _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make