On Sun, Nov 29, 2020 at 6:02 PM Jörg Schilling wrote:
> I just verified that expanding $< and $* for explicit rules at all
> was an invention from SunPro Make. These macros have not been
> expanded by the classical UNIX make.
The seminal make manual of 1978 contains the following
"Before
Follow-up Comment #4, bug #59399 (project make):
As always I'm ignoring as irrelevant who implemented what first.
Using $< is very trivial. It always expands to the first prerequisite in the
rule that contains the recipe. That's true for double-colon rules as well of
course. For example:
Follow-up Comment #1, bug #35711 (project make):
I've implemented a fix for the first item below: special targets are now
recognized immediately.
This doesn't help the second item below, which prevents us from implementing
something like a .TARGETS special variable.
Update of bug #58734 (project make):
Status:None => Duplicate
Assigned to:None => psmith
Open/Closed:Open => Closed
Update of bug #41273 (project make):
Status:None => Fixed
Assigned to:None => psmith
Open/Closed:Open => Closed
Fixed Release:
Update of bug #59096 (project make):
Item Group:None => Enhancement
Status:None => Fixed
Assigned to:None => psmith
Open/Closed:
Update of bug #59230 (project make):
Status:None => Fixed
Assigned to:None => psmith
Open/Closed:Open => Closed
Fixed Release:
Update of bug #58794 (project make):
Status:None => Fixed
Open/Closed:Open => Closed
Fixed Release:None => SCM
Triage Status:
Follow-up Comment #3, bug #59399 (project make):
Let me add a hint...
I just verified that expanding $< and $* for explicit rules at all
was an invention from SunPro Make. These macros have not been
expanded by the classical UNIX make.