On 10/25/2010 12:11 PM, Eli Zaretskii wrote:
From: Angel Tsankov<[email protected]>
Date: Mon, 25 Oct 2010 11:16:05 +0300


How can I get $@ to expand to the exact path of the target rather than
to a canonical path, e.g.

./a.out: a.o
        @echo $@  # Prints a.out instead of ./a.out

Use $(@F) or $(notdir $@) ?

How is this supposed to expand to ./a.out rather than to a.out?


Angel Tsankov


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to