1 1.3 rillig # $NetBSD: opt-ignore.mk,v 1.3 2020/08/23 14:28:04 rillig Exp $ 2 1.1 rillig # 3 1.3 rillig # Tests for the -i command line option, which ignores the exit status of the 4 1.3 rillig # shell commands, and just continues with the next command, even from the same 5 1.3 rillig # target. 6 1.3 rillig # 7 1.3 rillig # Is there a situation in which this option is useful? 8 1.3 rillig # 9 1.3 rillig # Why are the "Error code" lines all collected at the bottom of the output 10 1.3 rillig # file, where they cannot be related to the individual shell commands that 11 1.3 rillig # failed? 12 1.3 rillig 13 1.3 rillig all: dependency other 14 1.3 rillig 15 1.3 rillig dependency: 16 1.3 rillig @echo dependency 1 17 1.3 rillig @false 18 1.3 rillig @echo dependency 2 19 1.3 rillig @:; exit 7 20 1.3 rillig @echo dependency 3 21 1.1 rillig 22 1.3 rillig other: 23 1.3 rillig @echo other 1 24 1.3 rillig @false 25 1.3 rillig @echo other 2 26 1.1 rillig 27 1.1 rillig all: 28 1.3 rillig @echo main 1 29 1.3 rillig @false 30 1.3 rillig @echo main 2 31