deptgt-end-fail-all.mk revision 1.1
1# $NetBSD: deptgt-end-fail-all.mk,v 1.1 2020/12/06 21:22:04 rillig Exp $
2#
3# Test whether the commands from the .END target are run even if there is
4# an error before.  The manual page says "after everything else is done",
5# which leaves room for interpretation.
6
7all: .PHONY
8	: Making ${.TARGET} out of nothing.
9	false
10
11.END:
12	: Making ${.TARGET} out of nothing.
13	false
14