On the loaded objects example
(https://www.gnu.org/software/make/manual/make.html#Example-Loaded-Object):
1 - attached really tiny patch on edits in the documentation to make things
running and gcc less complaining.
2 - Living on Win10 (with Cygwin), I had to create libgnumake-1.dll.a myself
whic
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,
Britt
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.