Command Modifiers

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

You can specify one or more command modifiers preceding a command, optionally separated by spaces or tabs. As with commands, modifiers must be indented.

ModifierPurpose
@commandPrevents display of the command. Display by commands is not suppressed. By default, NMAKE echoes all executed commands. Use /S to suppress display for the entire makefile; use .SILENT to suppress display for part of the makefile.
[number ]commandTurns off error checking for command. By default, NMAKE halts when a command returns a nonzero exit code. If –number is used, NMAKE stops if the exit code exceeds number. Spaces or tabs cannot appear between the dash and number. At least one space or tab must appear between number and command. Use /I to turn off error checking for the entire makefile; use .IGNORE to turn off error checking for part of the makefile.
! commandExecutes command for each dependent file if command uses $** (all dependent files in the dependency) or $? (all dependent files in the dependency with a later timestamp than the target).

Commands in a Makefile

Show: