opt-keep-going.mk revision 1.3
11.3Srillig# $NetBSD: opt-keep-going.mk,v 1.3 2020/08/23 14:28:04 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.3Srilligall: dependency other
81.3Srillig
91.3Srilligdependency:
101.3Srillig	@echo dependency 1
111.3Srillig	@false
121.3Srillig	@echo dependency 2
131.3Srillig	@:; exit 7
141.3Srillig	@echo dependency 3
151.3Srillig
161.3Srilligother:
171.3Srillig	@echo other 1
181.3Srillig	@false
191.3Srillig	@echo other 2
201.1Srillig
211.1Srilligall:
221.3Srillig	@echo main 1
231.3Srillig	@false
241.3Srillig	@echo main 2
25