Follow-up Comment #2, bug #19900 (project make): My apologies. The problem was my misunderstanding.
In the $(eval) case, $(var) was being expanded as part of the $(eval), which isn't being done in the context of a rule. Using $$(var) fixes this because $(eval) generates a rule containing the string "$(var)", and expansion is deferred until the rule is applied. Sorry for wasting your time with this; just close the bug. And thanks for pointing me in the right direction. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?19900> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make