summaryrefslogtreecommitdiff
path: root/usr.bin/make/unit-tests/opt-raw.mk
blob: 91caffcd72aee833988f448ddf5b691660b957b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: opt-raw.mk,v 1.3 2022/01/23 16:09:38 rillig Exp $
#
# Tests for the -r command line option, which skips the system-defined default
# rules from <sys.mk>.

# To provide a clean testing environment without unintended side effects,
# these unit tests run make with the option '-r' by default.  This means there
# are no predefined suffixes and no predefined tools.

.if defined(CC)
.  error
.endif

all: .PHONY