| description | Learn more about: Predefined Rules | |||
|---|---|---|---|---|
| title | Predefined Rules | |||
| ms.date | 11/04/2016 | |||
| helpviewer_keywords |
|
|||
| ms.assetid | 638cdc3f-4aba-4b4f-96e3-ad65b0364f12 |
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 | x64 |
| .asm.obj |
|
ml64 /c $< | yes | x64 |
| .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 |