Condividi tramite


Running NMAKE

 

The latest version of this topic can be found at Running NMAKE.

Syntax

NMAKE [option...] [macros...] [targets...] [@commandfile...]  

Remarks

NMAKE builds only specified targets or, if none is specified, the first target in the makefile. The first makefile target can be a pseudotarget that builds other targets. NMAKE uses makefiles specified with /F; if /F is not specified, it uses the Makefile file in the current directory. If no makefile is specified, it uses inference rules to build command-line targets.

The commandfile text file (or response file) contains command-line input. Other input can precede or follow @commandfile. A path is permitted. In commandfile, line breaks are treated as spaces. Enclose macro definitions in quotation marks if they contain spaces.

What do you want to know more about?

NMAKE options

Tools.ini and NMAKE

Exit codes from NMAKE

See Also

NMAKE Reference