How to suppress “Entering/Leaving…” messages when invoking make recursively?
Posted on In QAThe “Entering/Leaving…” messages when invoking another make by a make is kind of annoying.
Is it possible to suppress these messages and how to suppress them?
For GNU make, it is controlled by options:
-w, –print-directory
Print a message containing the working directory before and after other processing. This may be useful for tracking down errors from complicated nests of recursive make commands.–no-print-directory
Turn off -w, even if it was turned on implicitly.
So you can add the --no-print-directory
option when invoking another make
.