xref: /freebsd/contrib/bmake/unit-tests/opt-raw.mk (revision 3c4ba5f55438f7afd4f4b0b56f88f2bb505fd6a6)
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