Makefile Preprocessing

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Makefile Preprocessing.

You can control the NMAKE session by using preprocessing directives and expressions. Preprocessing instructions can be placed in the makefile or in Tools.ini. Using directives, you can conditionally process your makefile, display error messages, include other makefiles, undefine a macro, and turn certain options on or off.

What do you want to know more about?

Makefile preprocessing directives

Expressions in makefile preprocessing

See Also

NMAKE Reference