On Mon, 2010-12-27 at 16:19 +0800, [email protected] wrote: > On (info "(make) Automatic Variables") you mention > `$(@F)' is equivalent to `$(notdir $@)'. > > But on (info "(make) File Name Functions") you don't mention the > converse! > > Nobody would have guessed there are shorter ways to write those things.
Only the automatic variables have special shorthand such as $(@F), etc. $(notdir ...) works with any value, and so the documentation for that function is generic and doesn't mention special cases that only work with a limited number of variables. -- ------------------------------------------------------------------------------- Paul D. Smith <[email protected]> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Bug-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-make
