Testcase:
foobar ?= VALUE:="plain-rule"
foobar_% ?= VALUE:="percent-rule"
foobar:
echo "value $(VALUE)"
foobar_%:
echo "value $(VALUE)"
running dmake foobar prints "value plain-rule" - but when running dmake
foobar_abc it prints "value " - so the Macro VALUE is not evaluated at
all.
changing the order to be
foobar_%:
echo "value $(VALUE)"
foobar_% ?= VALUE:="percent-rule"
works as expected.
See the URL for the mail to dev@tools for reference