-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Morrell wrote:
> 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:

echo_var = $(warning $($1))

or if you have GNU Make 3.8.1

echo_var = $(info $($1))

or if you really want to use echo

echo_var = $(shell echo $($1))

John.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHBoMkLphrp73n/hARAl/5AKCeFK4Re2FoCwdzHvKa8D4zg6MJpwCgsOCv
BbxKnkZ8vXuKC47d+aFsPZg=
=1szu
-----END PGP SIGNATURE-----


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to