Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Visual C++
NMAKE Reference
Inference Rules
 Predefined Rules

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual C++ Concepts: Building a C/C++ Program
Predefined Rules

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

Rule

Command

Default

action

Batch

Rule

Platform nmake runs on

.asm.exe

$(AS) $(AFLAGS) $<

ml $<

no

x86

.asm.obj

$(AS) $(AFLAGS) /c $<

ml /c $<

yes

x86

.asm.exe

$(AS) $(AFLAGS) $<

ml64 $<

no

x64

.asm.obj

$(AS) $(AFLAGS) /c $<

ml64 /c $<

yes

x64

.s.obj

$(AS) $(AFLAGS) $<

ias /c $<

no

Itanium Processor Family (IPF)

.c.exe

$(CC) $(CFLAGS) $<

cl $<

no

all

.c.obj

$(CC) $(CFLAGS) /c $<

cl /c $<

yes

all

.cc.exe

$(CC) $(CFLAGS) $<

cl $<

no

all

.cc.obj

$(CC) $(CFLAGS) /c $<

cl /c $<

yes

all

.cpp.exe

$(CPP) $(CPPFLAGS) $<

cl $<

no

all

.cpp.obj

$(CPP) $(CPPFLAGS) /c $<

cl /c $<

yes

all

.cxx.exe

$(CXX) $(CXXFLAGS) $<

cl $<

no

all

.cxx.obj

$(CXX) $(CXXFLAGS) /c $<

cl /c $<

yes

all

.rc.res

$(RC) $(RFLAGS) /r $<

rc /r $<

no

all

Concepts

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker