mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
![Simon J. Gerraty](/assets/img/avatar_default.png)
Features of interest: Allow setting target local variables (similar to gmake) In META_MODE .MAKE.META.CMP_FILTER can be used for filtering commands before comparion. contrib/bmake/mk/cc-wrap.mk is an example of using these See ChangeLog for the gory details.
19 lines
600 B
Makefile
19 lines
600 B
Makefile
# $NetBSD: directive-warning.mk,v 1.7 2022/01/23 16:09:38 rillig Exp $
|
|
#
|
|
# Tests for the .warning directive.
|
|
#
|
|
# Until parse.c 1.502 from 2020-12-19, a missing argument to the directive
|
|
# produced the wrong error message "Unknown directive". Since parse.c 1.503
|
|
# from 2020-12-19, the correct "Missing argument" is produced.
|
|
|
|
.warn # misspelled
|
|
.warn message # misspelled
|
|
.warnin # misspelled
|
|
.warnin message # misspelled
|
|
.warning # "Missing argument"
|
|
.warning message # expect+0: message
|
|
.warnings # misspelled
|
|
.warnings messages # Accepted before 2020-12-13 01:07:54.
|
|
|
|
all: .PHONY
|