bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What about the name of the second prerequisite?


From: Dan Jacobson
Subject: What about the name of the second prerequisite?
Date: Sat, 15 Jun 2019 08:35:13 +0800

(info "(make) Automatic Variables") has

'$<' The name of the first prerequisite...
'$?' The names of all the prerequisites that are newer than the target...
'$^' The names of all the prerequisites, with spaces between them...
'$+' This is like '$^', but prerequisites listed more than once are...
'$|' The names of all the order-only prerequisites...

OK, OK, OK, OK, OK!

But it really should also mention the official recommended way to (drum
roll)...

Get the name of the second prerequisite.

OK, the first born son inherits the throne. But at least document the
workaround for accessing the second born son. Thanks. P.S., third born
too. And how about last born also.

I'm not asking for code changes, just officially documenting the proper
way to access them.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]