tech-userlevel archive

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

Re: make: order-only prerequisites?



On Sun, Jan 22, 2017 at 08:23:31PM +0000, David Holland wrote:
>  > GNU make's '|' means that everything after the | needs to exist, but
>  > the target does not need to be rebuilt if anything to the right of |
>  > changes (IIUC).
> 
> which is what .ORDER is for.

Reading the man page, I don't think so.
.ORDER is described as:

"This ordering does not add targets to the list of targets to be
made." and I think | does that.

It also says "The ordering imposed by .ORDER is only relevant for
parallel makes." which doesn't match my expectations for | either.
 Thomas


Home | Main Index | Thread Index | Old Index