mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 00:02:14 -04:00
Relevant/interesting changes:
o optimize string matching for ':M' and ':N'
o warn about malformed patterns in ':M', ':N' and '.if make(...)'
o allow guards to be targets as well as variables
The guard targets may include variable references like
__${.PARSEDIR:tA}/${.PARSEFILE}__
o optimization for makefiles protected from multiple-inclusion
skip even opening the file after first include.
o var.c: do not allow delete of readOnly variable
o parse.c: .break takes no args
15 lines
439 B
Makefile
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
|