freebsd-dev/contrib/bmake/unit-tests/suff-phony.mk

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
407 B
Makefile
Raw Normal View History

# $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.