help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

are target-local variables for pattern rules well defined and supported?


From: Britton Kerin
Subject: are target-local variables for pattern rules well defined and supported?
Date: Sat, 6 May 2017 16:08:33 -0800

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
behavior?

Thanks,
Britton



reply via email to

[Prev in Thread] Current Thread [Next in Thread]