e2eeea75eb
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
22 lines
480 B
Makefile
22 lines
480 B
Makefile
# $NetBSD: opt-touch.mk,v 1.4 2020/11/14 14:13:09 rillig Exp $
|
|
#
|
|
# Tests for the -t command line option.
|
|
|
|
.MAKEFLAGS: -t opt-touch-phony opt-touch-join opt-touch-use opt-touch-make
|
|
|
|
opt-touch-phony: .PHONY
|
|
: Making $@.
|
|
|
|
opt-touch-join: .JOIN
|
|
: Making $@.
|
|
|
|
opt-touch-use: .USE
|
|
: Making use of $@.
|
|
|
|
opt-touch-make: .MAKE
|
|
: Making $@.
|
|
|
|
.END:
|
|
@files=$$(ls opt-touch-* 2>/dev/null | grep -v -e '\.' -e '\*'); \
|
|
[ -z "$$files" ] || { echo "created files: $$files" 1>&2; exit 1; }
|