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:59:01PM +0100, Thomas Klausner wrote:
>>>GNU make supports order-only prerequisites. For details, see
>>> https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html
>>>
>>> Is there an equivalent in BSD make?
>>
>> Our | -> .WAIT
>
> No, that's not the same.
>
> .WAIT means that everything before .WAIT needs to be built before make
> builds the stuff after it.
>
> 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.
Supporting the syntax is a different question... that obviously we
don't, but probably we could.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index