22 lines
407 B
Makefile
22 lines
407 B
Makefile
|
# $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.
|