1 # $NetBSD: directive-else.mk,v 1.4 2020/10/24 08:46:08 rillig Exp $
3 # Tests for the .else directive.
5 # The .else directive does not take any arguments.
6 # As of 2020-08-29, make doesn't warn about this.
8 . warning must not be reached
16 . warning must not be reached
19 # An .else without a corresponding .if is an error.
22 # Accidental extra .else directives are detected too.
24 . warning must not be reached
28 . info After an extra .else, everything is skipped.