On 7 January 2014 00:57:47 Patrick Palka <patr...@parcs.ath.cx> wrote:

On Mon, Jan 6, 2014 at 6:47 PM, Andreas Schwab <sch...@linux-m68k.org> wrote:
> Patrick Palka <patr...@parcs.ath.cx> writes:
>
>> From what I inferred from the make manual[0], $* is functionally
>> equivalent to $(basename $@) in this case.
>
> Or $(base), I think.
>
> Andreas.
>
> --
> Andreas Schwab, sch...@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."

I tried using $(base) but I wound up with a different build error.

I suppose $(@F) is both shorter and should work just fine.
Thanks,

When compiling morestack.S, $(base) gets expanded into "unwind-sjlj"
instead of "morestack".  I believe this is because Makefile variables
inside rule bodies are late-bound/expanded.



Sent with AquaMail for Android
http://www.aqua-mail.com


Reply via email to