NMAKE Help (nmake.hlp) (Table of Contents; Topic list)
Defining a Macro
                                             Up Contents Index Back
─────NMAKE──────────────────────────────────────────────────────────────────
 
     To define a macro, use the following syntax:
 
          macroname=string
 
     The <macroname> can be any combination of letters, digits, and the
     underscore (_) character, up to 1024 characters. Macro names are
     case sensitive. The <macroname> can contain a macro invocation. If
     <macroname> consists entirely of an invoked macro, the macro being
     invoked cannot be null or undefined.
     See: Null Macros and Undefined Macros
          Special Characters in Macros
          Using Macros
 
     The <string> can be any sequence of zero or more characters up to
     64K-25 (65,510 bytes). A string of zero characters is a null
     string. A string consisting only of spaces, tabs, or both is also
     a null string. The <string> can contain an invoked macro.
 
     Other syntax rules apply depending on where you specify the macro.
     See: Where to Define Macros
 
     Example
 
          DIR=c:\objects
 
     This example defines a macro named DIR and assigns to it a string
     that represents a directory.
                                    -♦-