1*956e45f6SSimon J. Gerraty# $NetBSD: opt-keep-going.mk,v 1.4 2020/10/18 18:12:42 rillig Exp $ 22c3632d1SSimon J. Gerraty# 32c3632d1SSimon J. Gerraty# Tests for the -k command line option, which stops building a target as soon 42c3632d1SSimon J. Gerraty# as an error is detected, but continues building the other, independent 52c3632d1SSimon J. Gerraty# targets, as far as possible. 62c3632d1SSimon J. Gerraty 7*956e45f6SSimon J. Gerraty.MAKEFLAGS: -d0 # switch stdout to being line-buffered 8*956e45f6SSimon J. Gerraty 92c3632d1SSimon J. Gerratyall: dependency other 102c3632d1SSimon J. Gerraty 112c3632d1SSimon J. Gerratydependency: 122c3632d1SSimon J. Gerraty @echo dependency 1 132c3632d1SSimon J. Gerraty @false 142c3632d1SSimon J. Gerraty @echo dependency 2 152c3632d1SSimon J. Gerraty @:; exit 7 162c3632d1SSimon J. Gerraty @echo dependency 3 172c3632d1SSimon J. Gerraty 182c3632d1SSimon J. Gerratyother: 192c3632d1SSimon J. Gerraty @echo other 1 202c3632d1SSimon J. Gerraty @false 212c3632d1SSimon J. Gerraty @echo other 2 222c3632d1SSimon J. Gerraty 232c3632d1SSimon J. Gerratyall: 242c3632d1SSimon J. Gerraty @echo main 1 252c3632d1SSimon J. Gerraty @false 262c3632d1SSimon J. Gerraty @echo main 2 27