xref: /freebsd/contrib/bmake/unit-tests/error.mk (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
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