xref: /freebsd/contrib/bmake/unit-tests/opt-raw.mk (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1# $NetBSD: opt-raw.mk,v 1.3 2022/01/23 16:09:38 rillig Exp $
2#
3# Tests for the -r command line option, which skips the system-defined default
4# rules from <sys.mk>.
5
6# To provide a clean testing environment without unintended side effects,
7# these unit tests run make with the option '-r' by default.  This means there
8# are no predefined suffixes and no predefined tools.
9
10.if defined(CC)
11.  error
12.endif
13
14all: .PHONY
15