Hi,
I may be doing something wrong, but the following Makefile gives me
strange results: the target-specific variable does not apply when used
for a target in a subdirectory.
test-%: FOO = BAR
test-%:
echo $(FOO)
E.g.:
$ make test-stem
echo BAR
BAR
$ make subdir/test-stem
echo
What am I doing wrong?
PS: please Cc me, I'm not subscribed. Thanks.
--
Benjamin Cama - Tél : 258
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make