Re: [Bug report] Make doesn't know $@ when referenced in the prerequisites

2017-03-18 Thread Paul Smith
On Sun, 2017-03-19 at 01:51 +, Alejandro García Vallejo wrote: > bar: $(@:%r=foo%z) >     @echo End > > foobaz: >     @echo The > > """ > GNU Make Output: > End > > Make fails to read $@ (aka, it's empty). That's not a bug; that's defined behavior. From the GNU make manual: https:

[Bug report] Make doesn't know $@ when referenced in the prerequisites

2017-03-18 Thread Alejandro García Vallejo
Hi, (NOTE: For details on versions used and whatnot see the end of the e-mail, should apply to all of them, AFAIK.) I know that this is a corner case, but given a Makefile such as this one: """ Makefile """ bar: $(@:%r=foo%z) @echo End foobaz: @echo The """ GNU Make Output: End