NMAKE Reference

 

The Microsoft Program Maintenance Utility (NMAKE.EXE) is a command-line tool included with Visual Studio that builds projects based on commands that are contained in a description file.

To use NMAKE, you must run it in a Developer Command Prompt window. A Developer Command Prompt window has the environment variables set for the tools, libraries, and include file paths required to build at the command line. For details on how to open a Developer Command Prompt window, see Building on the Command Line.

Running NMAKE

Contents of a Makefile

Description blocks

Commands in a Makefile

Macros and NMAKE

Inference rules

Dot directives

Makefile preprocessing

Building on the Command Line
C/C++ Build Tools
Creating and Managing Visual C++ Projects
Debugging in Visual Studio
C/C++ Building Reference

Show: