NMAKE Help (nmake.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
/K Option
                                             Up Contents Index Back
─────NMAKE──────────────────────────────────────────────────────────────────
 
     Syntax:  /K
 
     Continues the build for unrelated parts of the dependency tree if
     a command terminates with an error. By default, NMAKE halts if any
     command causes an error. If /K is specified and a command returns
     a nonzero exit code, NMAKE ceases to execute the block containing
     the command. It does not attempt to build the targets that depend
     on the results of that command; instead, it issues a warning and
     builds other targets.
 
     When /K is specified and the build is not complete, NMAKE returns
     an exit code of 1. This differs from the /I option, which ignores
     exit codes entirely; /I overrides /K if both are specified. The /C
     option suppresses the warnings issued by /K.
 
     See: /C Option
          /I Option
          NMAKE Exit Codes
                                    -♦-