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.
!CMDSWITCHES Directive
                                             Up Contents Index Back
─────NMAKE──────────────────────────────────────────────────────────────────
 
     Syntax:  !CMDSWITCHES {+|-}opt...
 
     Turns on or off one or more options. Specify one of the following
     operators:
 
        ■ A plus sign (+) to turn options on
 
        ■ A minus sign (-) to turn options off
 
     Separate !CMDSWITCHES from the + or - by one or more spaces or
     tabs. No space can appear between the operator and the options.
 
     After the + or -, specify one or more option letters. Letters are
     not case sensitive. Do not specify a forward slash (/). In a
     makefile, only D, I, N, and S are valid. In TOOLS.INI, all options
     are valid except F, HELP, NOLOGO, X, and ?.
     See: NMAKE Options
 
     To turn on some options and turn off other options, use separate
     specifications of the !CMDSWITCHES directives.
 
     If !CMDSWITCHES is specified within a description block, the
     changes do not take effect until the next description block.
 
     !CMDSWITCHES updates the MAKEFLAGS macro; the changes are
     inherited during recursion.
     See: Recursion Macros
                                    -♦-