opt-keep-going.mk revision 1.4
11.4Srillig# $NetBSD: opt-keep-going.mk,v 1.4 2020/10/18 18:12:42 rillig Exp $ 21.1Srillig# 31.3Srillig# Tests for the -k command line option, which stops building a target as soon 41.3Srillig# as an error is detected, but continues building the other, independent 51.3Srillig# targets, as far as possible. 61.1Srillig 71.4Srillig.MAKEFLAGS: -d0 # switch stdout to being line-buffered 81.4Srillig 91.3Srilligall: dependency other 101.3Srillig 111.3Srilligdependency: 121.3Srillig @echo dependency 1 131.3Srillig @false 141.3Srillig @echo dependency 2 151.3Srillig @:; exit 7 161.3Srillig @echo dependency 3 171.3Srillig 181.3Srilligother: 191.3Srillig @echo other 1 201.3Srillig @false 211.3Srillig @echo other 2 221.1Srillig 231.1Srilligall: 241.3Srillig @echo main 1 251.3Srillig @false 261.3Srillig @echo main 2 27