xref: /freebsd/contrib/bmake/unit-tests/error.mk (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
1# $NetBSD: error.mk,v 1.3 2020/11/03 17:38:45 rillig Exp $
2#
3# Demonstrate that the .error directive exits immediately, without
4# continuing parsing until the end of the file.
5
6.info just FYI
7.warning this could be serious
8.error this is fatal
9.info this is not reached because of the .error above
10
11all:
12	: this is not reached because of the .error
13