Skip to content

Latest commit

 

History

History
58 lines (56 loc) · 1.74 KB

File metadata and controls

58 lines (56 loc) · 1.74 KB
title Predefined Rules | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-tools
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
helpviewer_keywords
rules, predefined
NMAKE program, predefined rules
predefined rules in NMAKE
ms.assetid 638cdc3f-4aba-4b4f-96e3-ad65b0364f12
caps.latest.revision 9
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

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 [!INCLUDEvcprx64]
.asm.obj $(AS) $(AFLAGS) /c $< ml64 /c $< yes [!INCLUDEvcprx64]
.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

See Also

Inference Rules