initial makefile generation

Asha Diggi 96 Reputation points

Hi All,

I am trying to build the VC++ project in Eclipse IDE, so for this

I found I need to import the vc++ project as a eclipse makefile project, but before importing I need to create a initial makefile in vc++,

I found we can create makefile in vc++, following the below steps:

File->New->Project->visual C++->General->" selecting the file type makefile".

In Debug configuration asking the commands for build,clean and rebuild
So what exactly I need to specify here..

visual studio is new for me,so could you suggest me what commands I need to give...

how do I find build, rebuild and clean command in visual studio 2010?


A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
2,757 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sam of Simple Samples 5,466 Reputation points

    Using Visual Studio 2017 I do not see General in File->New->Project->Visual C++. I do however see Other so I will assume that is what you mean. When I use that to make a Makefile project I get the following:


  2. Jeanine Zhang-MSFT 5,241 Reputation points Microsoft Vendor


    Support for visual studio 2010 has ended.

    I suggest you could try to use Visual Studio 2017 and later. In Visual Studio 2017 and later, the Makefile project template is available when the C++ Desktop Development workload is installed.

    After you create a makefile project, you can view and edit each of the build, rebuild and clean command in the Nmake page of the project's property page.

    For more details I suggest you could refer to the Doc: Create a C++ makefile project

    Best Regards,


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.