1 # $NetBSD: depsrc-optional.mk,v 1.5 2020/11/08 10:33:47 rillig Exp $
3 # Tests for the special source .OPTIONAL in dependency declarations,
4 # which ignores the target if make cannot find out how to create it.
6 # TODO: Describe practical use cases for this feature.
11 important: optional optional-cohort
15 : An optional leaf node is not executed.
17 # See IsOODateRegular.
18 optional-cohort:: .OPTIONAL
19 : A leaf node using '::' is considered out-of-date.