tech-toolchain archive

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

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



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.

-- 
Jarmo Jaakkola


Home | Main Index | Thread Index | Old Index