Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
build
/
kati
/
6ca9cfe313bafd3f2ef8278140d2a8fe3ee67de3
/
.
/
testcase
/
implicit_pattern_rule_prefix.mk
blob: 6df648cee2acb96dd7dfedfa3b32d5bc140a856c [
file
] [
log
] [
blame
]
MAKEVER
:=
$
(
shell make
--
version
|
ruby
-
n0e
'puts $$_[/Make (\d)/,1]'
)
test
:
abcd
abcd
:
# GNU make 3 does not prioritize the rule with a shortest stem.
ifeq
(
$
(
MAKEVER
),
4
)
a
%:
echo FAIL
endif
abc
%:
echo PASS
ab
%:
echo FAIL