blob: defb7c59e0ad4d96de9a41ac7797ebcc29f2cedc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# $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; }
|