[Top][All Lists]

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

Re: [bug #59399] Expanding implicit macros in gmake (enhancement request

From: Dmitry Goncharov
Subject: Re: [bug #59399] Expanding implicit macros in gmake (enhancement request)
Date: Sun, 29 Nov 2020 21:48:30 -0500

On Sun, Nov 29, 2020 at 6:02 PM Jörg Schilling <INVALID.NOREPLY@gnu.org> 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 issuing any command, certain macros are set. $@ is set to the
name of the file to be ‘‘made’’. $? is
set to the string of names that were found to be younger than the
target. If the command was generated by
an implicit rule (see below), $< is the name of the related file that
caused the action, and $∗ is the prefix
shared by the current and the dependent file names."

See here

regards, Dmitry

reply via email to

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