tech-userlevel archive

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

Re: make: order-only prerequisites?



In article <20170122195901.2wret7eddufbimvl@danbala>,
Thomas Klausner  <wiz%NetBSD.org@localhost> wrote:
>On Sun, Jan 22, 2017 at 07:12:22PM +0000, Christos Zoulas wrote:
>> In article <20170122174627.yjcvgdvn653wvt5d@danbala>,
>> Thomas Klausner  <tk%giga.or.at@localhost> wrote:
>> >Hi!
>> >
>> >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).
> Thomas

We don't have something like that.

christos



Home | Main Index | Thread Index | Old Index