opt-keep-going.mk revision 1.5
11.5Srillig# $NetBSD: opt-keep-going.mk,v 1.5 2020/11/09 20:50:56 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.5Srillig.MAKEFLAGS: -k 91.4Srillig 101.3Srilligall: dependency other 111.3Srillig 121.3Srilligdependency: 131.3Srillig @echo dependency 1 141.3Srillig @false 151.3Srillig @echo dependency 2 161.3Srillig @:; exit 7 171.3Srillig @echo dependency 3 181.3Srillig 191.3Srilligother: 201.3Srillig @echo other 1 211.3Srillig @false 221.3Srillig @echo other 2 231.1Srillig 241.1Srilligall: 251.3Srillig @echo main 1 261.3Srillig @false 271.3Srillig @echo main 2 28