mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 02:06:37 +00:00
![Simon J. Gerraty](/assets/img/avatar_default.png)
o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable checks in InitObjdir. Explicit .OBJDIR target always allows read-only directory. o Fix building and unit-tests on non-BSD. o More code cleanup and refactoring. o More unit tests
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.
|