2021-02-11 01:51:11 +00:00
|
|
|
# $NetBSD: opt-debug-graph3.mk,v 1.3 2021/02/02 17:47:56 rillig Exp $
|
2020-11-07 19:39:21 +00:00
|
|
|
#
|
|
|
|
# Tests for the -dg3 command line option, which prints the input
|
|
|
|
# graph before exiting on error.
|
2021-02-11 01:51:11 +00:00
|
|
|
#
|
|
|
|
# Before compat.c 1.222 from 2021-02-02, there was no debug output despite
|
|
|
|
# the error.
|
|
|
|
|
|
|
|
.MAKEFLAGS: -dg3
|
|
|
|
|
|
|
|
.MAIN: all
|
|
|
|
|
|
|
|
made-target: .PHONY
|
|
|
|
: 'Making $@.'
|
|
|
|
|
|
|
|
error-target: .PHONY
|
|
|
|
false
|
2020-11-07 19:39:21 +00:00
|
|
|
|
2021-02-11 01:51:11 +00:00
|
|
|
aborted-target: .PHONY aborted-target-dependency
|
|
|
|
aborted-target-dependency: .PHONY
|
|
|
|
false
|
2020-11-07 19:39:21 +00:00
|
|
|
|
2021-02-11 01:51:11 +00:00
|
|
|
all: made-target error-target aborted-target
|