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.
Running NMAKE
                                             Up Contents Index Back
─────NMAKE──────────────────────────────────────────────────────────────────
 
     You invoke NMAKE with the following syntax:
 
          NMAKE [options] [macros] [targets]
 
     The <options> field lists NMAKE options.
     See: NMAKE Options
 
     The <macros> field lists macro definitions.
     See: Macros
          Defining a Macro
 
     The <targets> field lists targets to build. NMAKE builds only the
     targets listed on the command line. If no command-line target is
     specified, NMAKE builds only the first target in the first
     dependency in the makefile.
     See: Dependencies
     See: Targets
 
     NMAKE uses priorities to determine how to conduct the build:
 
       1. If /F is used, NMAKE searches the current or specified
          directory for the specified makefile. NMAKE halts and
          displays an error message if the file does not exist.
          See: /F Option
 
       2. If /F is not used, NMAKE searches the current directory for a
          file named MAKEFILE.
 
       3. If MAKEFILE does not exist, NMAKE checks the command line for
          targets and tries to build them using inference rules.
          See: Inference Rules
 
       4. If a makefile is not used and the command line does not
          specify a target, NMAKE halts and displays an error message.
          If /P is used, information is displayed without an error.
          See: /P Option
                                    -♦-