Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: duplicate targets in Makefile rule
- X-seq: zsh-workers 9813
- From: Adam Spiers <adam@xxxxxxxxxx>
- To: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: Re: duplicate targets in Makefile rule
- Date: Mon, 21 Feb 2000 10:39:23 +0000
- In-reply-to: <E12Mpkr-00069S-00@xxxxxxxxxxxxxxxxxx>; from zefram@xxxxxxxx on Mon, Feb 21, 2000 at 10:07:49AM +0000
- Mail-followup-to: zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000221021201.A27957@xxxxxxxxxxxxxxxxxxxxxxx> <E12Mpkr-00069S-00@xxxxxxxxxxxxxxxxxx>
- Reply-to: Adam Spiers <adam@xxxxxxxxxx>
Zefram (zefram@xxxxxxxx) wrote:
> Adam Spiers wrote:
> >> Not portable: $< does not portably exist
> >
> >*sigh* You learn something every day. Why is it not meaningful
> >though, out of curiosity?
>
> There may be many (or no) dependencies in an explicit rule, whereas $<
> is defined (for an implicit rule) to expand to the exactly one dependency.
I see. I've only ever used GNU make, so I'd unconsciously assumed
that what the info pages say would be true for most makes:
`$<'
The name of the first dependency. If the target got its commands
from an implicit rule, this will be the first dependency added by
the implicit rule (*note Implicit Rules::.).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author