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.
Wildcards
                                             Up Contents Index Back
─────NMAKE──────────────────────────────────────────────────────────────────
 
     You can use DOS wildcards (* and ?) to specify target and
     dependent names in a dependency. NMAKE expands wildcards that
     appear on dependency lines.
 
     A wildcard specified in a command is passed literally to the
     command; NMAKE does not expand it.
 
     Example
 
          project.exe : *.c
            cl *.c /Feproject.exe
 
     In this description block, the wildcard * is used twice. NMAKE
     expands the *.c in the dependency line and looks at all files
     having the .C extension in the current directory. If any .C file
     is out-of-date, the CL command expands the *.c and compiles and
     links all the files.
                                    -♦-