Predefined Rules

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Predefined Rules.

Predefined inference rules use NMAKE-supplied command and options macros.

RuleCommandDefault

action
Batch

Rule
Platform nmake runs on
.asm.exe$(AS) $(AFLAGS) $<ml $<nox86
.asm.obj$(AS) $(AFLAGS) /c $<ml /c $<yesx86
.asm.exe$(AS) $(AFLAGS) $<ml64 $<nox64
.asm.obj$(AS) $(AFLAGS) /c $<ml64 /c $<yesx64
.c.exe$(CC) $(CFLAGS) $<cl $<noall
.c.obj$(CC) $(CFLAGS) /c $<cl /c $<yesall
.cc.exe$(CC) $(CFLAGS) $<cl $<noall
.cc.obj$(CC) $(CFLAGS) /c $<cl /c $<yesall
.cpp.exe$(CPP) $(CPPFLAGS) $<cl $<noall
.cpp.obj$(CPP) $(CPPFLAGS) /c $<cl /c $<yesall
.cxx.exe$(CXX) $(CXXFLAGS) $<cl $<noall
.cxx.obj$(CXX) $(CXXFLAGS) /c $<cl /c $<yesall
.rc.res$(RC) $(RFLAGS) /r $<rc /r $<noall

Inference Rules

Show: