On Tue, Aug 16, 2011 at 8:24 AM, Andreas Schwab schwab@redhat.com wrote:
Richard Shaw hobbes1069@gmail.com writes:
I was hoping something like "make -p ..." would work but it doesn't evaluate the variables, which seems useless since if I just wanted the raw output 'cat' would work.
$ make -f Makefile -f - <<<'echo-foo:; @echo $(foo)' echo-foo
Not only is it a obfuscation contest winner, but it worked!
Thanks, Richard