1# $NetBSD: opt-touch.mk,v 1.4 2020/11/14 14:13:09 rillig Exp $
2#
3# Tests for the -t command line option.
4
5.MAKEFLAGS: -t opt-touch-phony opt-touch-join opt-touch-use opt-touch-make
6
7opt-touch-phony: .PHONY
8	: Making $@.
9
10opt-touch-join: .JOIN
11	: Making $@.
12
13opt-touch-use: .USE
14	: Making use of $@.
15
16opt-touch-make: .MAKE
17	: Making $@.
18
19.END:
20	@files=$$(ls opt-touch-* 2>/dev/null | grep -v -e '\.' -e '\*'); \
21	[ -z "$$files" ] || { echo "created files: $$files" 1>&2; exit 1; }
22