1# $NetBSD: opt-debug-graph2.mk,v 1.3 2021/02/02 17:47:56 rillig Exp $ 2# 3# Tests for the -dg2 command line option, which prints the input 4# graph after making everything, or before exiting on error. 5# 6# Before compat.c 1.222 from 2021-02-02, there was no debug output despite 7# the error. 8 9.MAKEFLAGS: -dg2 10 11.MAIN: all 12 13made-target: .PHONY 14 : 'Making $@.' 15 16error-target: .PHONY 17 false 18 19aborted-target: .PHONY aborted-target-dependency 20aborted-target-dependency: .PHONY 21 false 22 23all: made-target error-target aborted-target 24