On Thu, 2010-02-25 at 09:08 -0800, gharding3 wrote: > HI, > > Trying to figure out exactly what I'm doing wrong... I've tried using $(eval > foobar), $(eval ($call foobar)), each time the result is the same: nothing > is printed. Any ideas? > > Makefile > ======== > > define foobar > FOO = foo > BAR = bar > endef > > $(eval foobar) > > build: > echo $(FOO) > echo $(BAR)
Eval takes an argument (string) to be evaluated, not the name of a variable to be evaluated. Write it like this: $(eval $(foobar)) _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
