freebsd-dev/contrib/bmake/unit-tests/error.mk
Simon J. Gerraty e2eeea75eb Merge bmake-20201117
o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
  checks in InitObjdir.  Explicit .OBJDIR target always allows
  read-only directory.

o More code cleanup and refactoring.

o More unit tests

MFC after:	1 week
2020-11-20 06:02:31 +00:00

13 lines
349 B
Makefile

# $NetBSD: error.mk,v 1.3 2020/11/03 17:38:45 rillig Exp $
#
# Demonstrate that the .error directive exits immediately, without
# continuing parsing until the end of the file.
.info just FYI
.warning this could be serious
.error this is fatal
.info this is not reached because of the .error above
all:
: this is not reached because of the .error