aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/suff-phony.mk
blob: f206187c7e85524cdbfabbc90f3531d4cbc16e9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: suff-phony.mk,v 1.1 2020/11/23 15:00:32 rillig Exp $
#
# Test that .PHONY targets are not resolved using suffix rules.
#
# The purpose of the .PHONY attribute is to mark them as independent from the
# file system.
#
# See also:
#	FindDepsRegular, Ctrl+F OP_PHONY

.MAKEFLAGS: -ds

all: .PHONY

.SUFFIXES: .c

.c:
	: Making ${.TARGET} from ${.IMPSRC}.

all.c:
	: Making ${.TARGET} out of nothing.