|
From: | Sven C. Dack |
Subject: | Re: Target-specific variable in subdirectory problem |
Date: | Wed, 2 Aug 2017 20:40:40 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
From his mail am I assuming he wants his Makefile to print "BAR" for a target "test-stem" as well as "subdir/test-stem", which is what he will get when he uses $(eval ...).
Respectfully, Sven On 02/08/17 20:12, Kyle Rose wrote:
On Wed, Aug 2, 2017 at 3:03 PM, Sven C. Dack <address@hidden> wrote:Hello, try it with the following rules: test-%: $(eval FOO = BAR) test-%: echo $(FOO)FOO is a global variable in this case. Not sure what you're trying to demonstrate here. Kyle _______________________________________________ Bug-make mailing list address@hidden https://lists.gnu.org/mailman/listinfo/bug-make
[Prev in Thread] | Current Thread | [Next in Thread] |