17 lines
404 B
Makefile
17 lines
404 B
Makefile
# $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.
|