Specifying --no-print-directory within the Makefile

The --no-print-directory option of make tells make not to print the message about entering and leaving the working directory. However, how to specify the --no-print-directory inside the Makefile itself?

asked Jul 26, 2013 by anonymous

1 Answer

Best answer

Add this line to the Makefile:

MAKEFLAGS += --no-print-directory

You can also set MAKEFLAGS in a makefile, to specify additional flags that should also be in effect for that makefile.

-- http://www.gnu.org/software/make/manual/html_node/Options_002fRecursion.html

answered Jul 26, 2013 by anonymous

Please log in or register to answer this question.

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