# tested with upstream HEAD (Check if the target-specific
# variable is the same as the global, 2010-11-30).
retitle 609301 make: document "canceling implicit rules" in a manual in Debian 
(pattern rule without body is ignored)
severity 609301 minor
quit

Hi Goswin,

Goswin von Brederlow wrote:

> I've run into an odd behaviour with pattern rules. A pattern rule
> without a body is simply ignored:
>
> mrvn@frosties:~/t% cat Makefile
> %-foo: bla-%-foo
>
> %-baz: bla-%-foo
>       $(info $@)
>
> bla-%-foo:
>       $(info $@)
>       touch $@
>
> mrvn@frosties:~/t% make blub-foo
> make: *** No rule to make target `blub-foo'.  Stop.

See http://www.apl.jhu.edu/Misc/Unix-info/make/make_10.html#SEC97

Hope that helps,
Jonathan



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to