Predefined Inference Rules

Predefined inference rules use NMAKE-supplied command and option macros:

Rule Command Default Action
.asm.exe $(AS) $(AFLAGS) $*.asm ml $*.asm
.asm.obj $(AS) $(AFLAGS) /c $*.asm ml /c $*.asm
.c.exe $(CC) $(CFLAGS) $*.c cl $*.c
.c.obj $(CC) $(CFLAGS) /c $*.c cl /c $*.c
.cpp.exe $(CPP) $(CPPFLAGS) $*.cpp cl $*.cpp
.cpp.obj $(CPP) $(CPPFLAGS) /c $*.cpp cl /c $*.cpp
.cxx.exe $(CXX) $(CXXFLAGS) $*.cxx cl $*.cxx
.cxx.obj $(CXX) $(CXXFLAGS) /c $*.cxx cl /c $*.cxx
.bas.obj $(BC) $(BFLAGS) $*.bas; bc $*.bas;
.cbl.exe $(COBOL) $(COBFLAGS) $*.cbl, $*.exe; cobol $*.cbl, $*.exe;
.cbl.obj $(COBOL) $(COBFLAGS) $*.cbl; cobol $*.cbl;
.for.exe $(FOR) $(FFLAGS) $*.for fl32 $*.for
.f90.exe $(FOR) $(FFLAGS) $*.f90 fl32 $*.f90
.f.exe $(FOR) $(FFLAGS) $*.f fl32 $*.f
.for.obj $(FOR) /c $(FFLAGS) $*.for fl32 $*.for /c
.f90.obj $(FOR) /c $(FFLAGS) $*.f90 fl32 $*.f90 /c
.f.obj $(FOR) /c $(FFLAGS) $*.f fl32 $*.f /c
.pas.exe $(PASCAL) $(PFLAGS) $*.pas pl $*.pas
.pas.obj $(PASCAL) /c $(PFLAGS) $*.pas pl /c $*.pas
.rc.res $(RC) $(RFLAGS) /r $* rc /r $*