xref: /freebsd/contrib/bmake/unit-tests/depsrc-phony.mk (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1# $NetBSD: depsrc-phony.mk,v 1.3 2020/09/05 15:57:12 rillig Exp $
2#
3# Tests for the special source .PHONY in dependency declarations,
4# which executes the commands for the target even if a file of the same
5# name exists and would be considered up to date.
6
7# Without the .PHONY, this target would be "up to date".
8${MAKEFILE}: .PHONY
9	: ${.TARGET:T} is made.
10