]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/depsrc-recursive.mk
Update to bmake-20201101
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / depsrc-recursive.mk
1 # $NetBSD: depsrc-recursive.mk,v 1.3 2020/09/05 15:57:12 rillig Exp $
2 #
3 # Tests for the special source .RECURSIVE in dependency declarations,
4 # which executes the commands of the target even if the -n or -t command
5 # line options are given.
6
7 .MAKEFLAGS: -n
8
9 all: this-is-made
10 all: this-is-not-made
11
12 this-is-made: .RECURSIVE
13         @echo ${.TARGET} is made.
14
15 this-is-not-made:
16         @echo ${.TARGET} is just echoed.