tech-toolchain archive

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

Re: Desired meaning of $(<) in explicit rules (was: $(<) is used incorrectly in Makefile.kern.inc)



In article <20140819142154.GJ965%roskakori.fi@localhost>,
Jarmo Jaakkola  <jarmo.jaakkola%roskakori.fi@localhost> wrote:
>On Tue, Aug 19, 2014 at 04:31:26PM +0300, Jarmo Jaakkola wrote:
>> Matching what gmake does might be somewhat more difficult.
>
>And I've proven myself wrong.  While I implemented the possibility
>of overriding targets, I implemented something which can used
>to do what gmake does.
>
>So, what do you want $< to mean for explicit rules?
>    "The name of the first prerequisite on the dependency line which
>    is followed by actual commands."
>Or:
>    "The name of the first prerequisite."
>
>I think that the first one (compatible with gmake) is actually the best.

Yes, let's do what gmake does.

christos



Home | Main Index | Thread Index | Old Index