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.
Exclamation Point (!) Modifier
                                             Up Contents Index Back
─────NMAKE──────────────────────────────────────────────────────────────────
 
     Syntax  !command
 
     Executes <command> for each dependent file if <command> uses the
     filename macros $** or $?. Spaces and tabs can appear before
     <command>.
 
     The $** macro represents all dependent files in the dependency.
     The $? macro refers to all dependent files in the dependency that
     have a later time stamp than the target.
     See: Filename Macros
 
     Example
 
          print : one.txt two.txt three.txt
            !print $** lpt1:
 
     This description block generates the following commands:
 
          print one.txt lpt1:
          print two.txt lpt1:
          print three.txt lpt1:
                                    -♦-