| title | Predefined Rules | Microsoft Docs | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||
| ms.date | 11/04/2016 | |||||||||
| ms.reviewer | ||||||||||
| ms.suite | ||||||||||
| ms.technology |
|
|||||||||
| ms.tgt_pltfrm | ||||||||||
| ms.topic | article | |||||||||
| dev_langs |
|
|||||||||
| helpviewer_keywords |
|
|||||||||
| ms.assetid | 638cdc3f-4aba-4b4f-96e3-ad65b0364f12 | |||||||||
| caps.latest.revision | 9 | |||||||||
| author | corob-msft | |||||||||
| ms.author | corob | |||||||||
| manager | ghogen | |||||||||
| translation.priority.ht |
|
|||||||||
| translation.priority.mt |
|
Predefined inference rules use NMAKE-supplied command and options macros.
| Rule | Command | Default action |
Batch Rule |
Platform nmake runs on |
|---|---|---|---|---|
| .asm.exe |
|
ml $< | no | x86 |
| .asm.obj |
|
ml /c $< | yes | x86 |
| .asm.exe |
|
ml64 $< | no | [!INCLUDEvcprx64] |
| .asm.obj |
|
ml64 /c $< | yes | [!INCLUDEvcprx64] |
| .c.exe |
|
cl $< | no | all |
| .c.obj |
|
cl /c $< | yes | all |
| .cc.exe |
|
cl $< | no | all |
| .cc.obj |
|
cl /c $< | yes | all |
| .cpp.exe |
|
cl $< | no | all |
| .cpp.obj |
|
cl /c $< | yes | all |
| .cxx.exe |
|
cl $< | no | all |
| .cxx.obj |
|
cl /c $< | yes | all |
| .rc.res |
|
rc /r $< | no | all |