Skip to content

Latest commit

 

History

History
28 lines (26 loc) · 1.62 KB

command-modifiers.md

File metadata and controls

28 lines (26 loc) · 1.62 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
Command Modifiers | Microsoft Docs
11/04/2016
cpp-tools
article
C++
NMAKE program, command modifiers
command modifiers
b661c432-210f-4f05-bc56-744a46e0fc0b
7
corob-msft
corob
ghogen

Command Modifiers

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

Modifier Purpose
@command Prevents 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 ]command Turns 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.
! command Executes 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).

See Also

Commands in a Makefile