o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable checks in InitObjdir. Explicit .OBJDIR target always allows read-only directory. o More code cleanup and refactoring. o More unit tests MFC after: 1 week
19 lines
441 B
Makefile
19 lines
441 B
Makefile
# $NetBSD: depsrc-make.mk,v 1.4 2020/11/15 20:20:58 rillig Exp $
|
|
#
|
|
# Tests for the special source .MAKE in dependency declarations, which
|
|
# executes the commands of the target even if the -n or -t command line
|
|
# options are given.
|
|
|
|
# TODO: Add a test for the -t command line option.
|
|
|
|
.MAKEFLAGS: -n
|
|
|
|
all: this-is-made
|
|
all: this-is-not-made
|
|
|
|
this-is-made: .MAKE
|
|
@echo ${.TARGET} is made.
|
|
|
|
this-is-not-made:
|
|
@echo ${.TARGET} is just echoed.
|