1# $NetBSD: deptgt-default.mk,v 1.3 2021/12/01 23:56:29 rillig Exp $
2#
3# Tests for the special target .DEFAULT in dependency declarations, which
4# attaches its associated commands to all targets that don't specify any way
5# to create them.
6
7all: test-default not-a-target
8
9test-default: .PHONY
10
11has-commands: .PHONY
12	@echo 'Making ${.TARGET} from ${.IMPSRC}.'
13
14.DEFAULT: dependency-is-ignored
15	@echo "Default command is making '${.TARGET}' from '${.IMPSRC}'."
16
17all:
18