opnsense-src/contrib/bmake/unit-tests/error.mk
Simon J. Gerraty 148ee84570 Merge bmake-20230622
Merge commit '3e39ce563b9ba25883e5aa37d9799eda9e57c1e0'
2023-06-27 13:57:58 -07:00

15 lines
439 B
Makefile

# $NetBSD: error.mk,v 1.4 2023/06/01 20:56:35 rillig Exp $
#
# Demonstrate that the .error directive exits immediately, without
# continuing parsing until the end of the file.
# expect+1: just FYI
.info just FYI
# expect+1: warning: this could be serious
.warning this could be serious
# expect+1: this is fatal
.error this is fatal
.info this is not reached because of the .error above
all:
: this is not reached because of the .error