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.
Using Multiple Inline Files
                                             Up Contents Index Back
─────NMAKE──────────────────────────────────────────────────────────────────
 
     A single command can use more than one inline file. For each
     inline file, specify one or more lines of inline text followed by
     a closing line containing the delimiter. Begin the second file's
     text on the line following the delimiting line for the first file.
 
     Example
 
     The following example creates two inline files:
 
          target.abc : depend.xyz
            copy <<file1 + <<file2 both.txt
          I am the contents of file1.
          <<
          I am the contents of file2.
          <<KEEP
 
     This is equivalent to concatenating two files:
 
          copy file1 + file2 both.txt
 
     The KEEP keyword tells NMAKE to preserve FILE2. After NMAKE ends,
     the files FILE2 and BOTH.TXT exist in the current directory.
                                    -♦-