1 # $NetBSD: depsrc-exec.mk,v 1.3 2020/09/05 15:57:12 rillig Exp $
3 # Tests for the special source .EXEC in dependency declarations,
4 # which always executes the commands, even if the target is up to date.
5 # The target itself is considered up to date.
7 # TODO: Describe possible use cases for .EXEC.
9 all: ${MAKEFILE} ${MAKEFILE:H}/depsrc.mk
12 : ${.TARGET:T}: This is always executed.
14 ${MAKEFILE:H}/depsrc.mk:
15 : This is not executed.
16 +: ${.TARGET:T}: This is not executed as well.