Skip to main content

more options


Makefile Projects

Makefile Projects may be created as an option inside Visual C++ projects:
  • File | New Projects | Visual C++ Projects | General | Makefile Project

With a makefile project, there aren't many options that can be specified in the "Project Settings" dialog except the "make" command.

Makefile Projects may be created as an option inside Visual C++ projects:

  • File | New Projects | Visual C++ Projects | General | Makefile Project

With a makefile project, there aren't many options that can be specified in the "Project Settings" dialog except the "make" command.

The format of a makefile for "nmake" is essentially the same as for any other make utility, except that directory hierarchies might need to be specified with "\" and object files might need a ".obj" extension instead of ".o". (Note: the latest version of nmake seems less fussy about this.)

The makefile can be edited outside VS .NET, but source files can be edited in VS .NET and the makefile can be invoked with the "build" icon. If you don't want to use VS .NET for organizing and editing source files, then the command line invocation of Nmake is for you.