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.
!INCLUDE Directive
                                             Up Contents Index Back
─────NMAKE──────────────────────────────────────────────────────────────────
 
     Syntax:  !INCLUDE [<]filename[>]
 
     Reads and evaluates <filename> as a makefile before continuing
     with the current makefile. NMAKE first looks for <filename> in the
     current directory; if a path is specified with <filename>, NMAKE
     looks in the specified directory.
 
     If !INCLUDE is specified in a file that is included, NMAKE looks
     for <filename> in the parent file's directory; this search is
     recursive, ending with the original makefile's directory.
 
     If <filename> is enclosed in angle brackets (<>), NMAKE searches
     in directories specified by the INCLUDE macro. The INCLUDE macro
     is initially set to the value of the INCLUDE environment variable.
     See: Environment-Variable Macros
                                    -♦-