[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: are target-local variables for pattern rules well defined and suppor
Re: are target-local variables for pattern rules well defined and supported?
Sat, 06 May 2017 20:51:29 -0400
On Sat, 2017-05-06 at 16:08 -0800, Britton Kerin wrote:
> This seems to work:
> %.o: COMPILE = cp
> %.o: %.c
> $(COMPILE) $< $@
> but it makes me a little nervous. The manual doesn't seem to mention
> it in either the section on target-local variables or the one on
> pattern rules. Is this well defined and intentionally supported
Pattern-specific variables are described here:
which is the section directly after target-specific variables.