How to suppress "Entering/Leaving..." messages when invoking make recursively?

The "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?

asked Nov 24, 2014 by Eric Z Ma (44,280 points)

1 Answer

 
Best answer

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.

answered Nov 24, 2014 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...