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? > > 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. _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make