xref: /freebsd/contrib/bmake/unit-tests/depsrc-phony.mk (revision 548bfc56eb0b2cefa0fb8dc2478240bfef610309)
1*548bfc56SSimon J. Gerraty# $NetBSD: depsrc-phony.mk,v 1.4 2024/04/27 20:41:32 rillig Exp $
22c3632d1SSimon J. Gerraty#
3956e45f6SSimon J. Gerraty# Tests for the special source .PHONY in dependency declarations,
4956e45f6SSimon J. Gerraty# which executes the commands for the target even if a file of the same
5956e45f6SSimon J. Gerraty# name exists and would be considered up to date.
62c3632d1SSimon J. Gerraty
7956e45f6SSimon J. Gerraty# Without the .PHONY, this target would be "up to date".
8*548bfc56SSimon J. Gerraty# expect: : depsrc-phony.mk is made.
9956e45f6SSimon J. Gerraty${MAKEFILE}: .PHONY
10956e45f6SSimon J. Gerraty	: ${.TARGET:T} is made.
11