|
From: | David Deutsch |
Subject: | Re: simple explanation for order-only prerequisite? |
Date: | Tue, 5 Nov 2019 05:13:08 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 05.11.19 04:51, Kaz Kylheku (gmake) wrote: > Why would we make a directory order-only? Because it's not a > real input to the build. That has always been the crux for me about understanding order-only prerequisites: - It's an OOP if the prerequisite is not directly /used/ in the recipe for the target. mytarget: [things that are used in the recipe] | [things that need to "be there" before the recipe is executed] mybin $< > $@ -David
[Prev in Thread] | Current Thread | [Next in Thread] |