Is it possible to write a function that can display the value of an
arbitrary variable? For example, I want a function "echo_var" that I can
use as:
FOO = hello
BAR = goodbye
$(call echo_var, FOO)
$(call echo_var, BAR)
that will print:
FOO = hello
BAR = goodbye
I tried:
define echo_var
echo $(1) = $($(1))
endef
but that didn't work.
Michael
____________________________________________________________________________________
Tonight's top picks. What will you watch tonight? Preview the hottest shows on
Yahoo! TV.
http://tv.yahoo.com/
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make