freebsd-dev/contrib/bmake/unit-tests/depsrc-recursive.mk

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
404 B
Makefile
Raw Normal View History

# $NetBSD: depsrc-recursive.mk,v 1.3 2020/09/05 15:57:12 rillig Exp $
#
# Tests for the special source .RECURSIVE in dependency declarations,
# which executes the commands of the target even if the -n or -t command
# line options are given.
.MAKEFLAGS: -n
all: this-is-made
all: this-is-not-made
this-is-made: .RECURSIVE
@echo ${.TARGET} is made.
this-is-not-made:
@echo ${.TARGET} is just echoed.