NMAKE Help (nmake.hlp) (Table of Contents; Topic list)
.SUFFIXES Directive
                                             Up Contents Index Back
─────NMAKE──────────────────────────────────────────────────────────────────
 
     Syntax:  .SUFFIXES : list
 
     Lists file suffixes (extensions) for NMAKE to try to match when it
     attempts to apply an inference rule.
     See: Inference Rules
 
     The .SUFFIXES list is predefined as follows:
 
     .SUFFIXES : .exe .obj .asm .c .cpp .cxx .bas .cbl .for .pas .res .rc
 
     Changing the .SUFFIXES List
 
     To add additional suffixes to the end of the list, specify:
 
          .SUFFIXES : suffixlist
 
     where <suffixlist> is a list of the additional suffixes, separated
     by one or more spaces or tabs.
 
     To clear the list, specify no extensions:
 
          .SUFFIXES :
 
     To change the list order or to specify an entirely new list, you
     must clear the list and specify a new setting.
 
     The /R option clears the .SUFFIXES list, among other actions.
     See: /R Option
 
     To see the current setting, run NMAKE with the /P option.
     See: /P Option
 
     How NMAKE Uses .SUFFIXES
 
     If more than one inference rule (either defined or predefined)
     exists for building a target (such as an .EXE file), NMAKE uses
     the .SUFFIXES list order to determine which rule to invoke. It
     looks in the current or specified directory for a file that has
     the target's base name and an extension listed in .SUFFIXES. NMAKE
     checks the .SUFFIXES extensions in the given order until it finds
     a matching dependent file in the directory.
                                    -♦-