freebsd-dev/contrib/bmake/unit-tests/doterror.mk

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
250 B
Makefile
Raw Normal View History

# $NetBSD: doterror.mk,v 1.2 2020/10/24 08:34:59 rillig Exp $
.BEGIN:
@echo At first, I am
.END:
@echo not reached
.ERROR:
@echo "$@: Looks like '${.ERROR_TARGET}' is upset."
all: happy sad
happy:
@echo $@
sad:
@echo and now: $@; exit 1