On Sat, 2021-10-23 at 03:01 +0200, Alejandro Colomar (man-pages) wrote: > I'd like a project to use '--silent' by default, to have readable > output, and hide most of the full commands, which would be too > noisy. > > So, ideally, I'd like to have 'MAKEFLAGS += --silent' in the > Makefile.
Actually what you really want is the .SILENT special target. https://www.gnu.org/software/make/manual/html_node/Special-Targets.html#index-_002eSILENT That leads to this best-practice way to handle verbose output: http://make.mad-scientist.net/managing-recipe-echoing/