Exit status

clearmake returns a zero exit status if all goal targets are successfully processed.

It returns a non-zero exit status in two cases:

  • clearmake itself detects an error, such as a syntax error in the makefile. In this case, the error message includes the string clearmake.
  • A makefile build script terminates with a non-zero exit status (for example, a compiler error).