I want make
to continue even if a dependency's build fails. I usually use -i
to accomplish this. A colleague of mine said he uses -k
. Indeed, this stack overflow question has an answer for each:
Make: how to continue after a command fails?
Is there a difference between these two options?
Here's what the make
man page says for these two options:
-i, --ignore-errors
Ignore all errors in commands executed to remake files.
-k, --keep-going
Continue as much as possible after an error. While the
target that failed, and those that depend on it, cannot be
remade, the other dependencies of these targets can be
processed all the same.
What -k
describes is what I think -i
does. I'm sure I'm missing something: can someone help me understand the difference?