Skip to main content

more options


Nmake

The Nmake utility is still part of the VS .NET distribution tools however the option "Project | Export Makefile" is not supported in the .NET versions of Visual Studio.

Note: If you are coming from another platform with a Unix makefile, see the Porting section for details on how to modify it to make it acceptable to Nmake.

The Nmake utility is still part of the VS .NET distribution tools however the option "Project | Export Makefile" is not supported in the .NET versions of Visual Studio.

Nmake can be invoked from the command prompt. The filename follows the "/f" switch on the nmake command line. Following this, the active configuration must be set via "cfg=". For example:
nmake /f myproj.mak cfg="Myproj - Win32 Debug"
Specific examples are typically given in exported makefiles.

The linker is "link.exe".

Note: If you are coming from another platform with a Unix makefile, see the Porting section for details on how to modify it to make it acceptable to Nmake.