Creating a Makefile Project
If you have a project that you build from the command line with a makefile, then the Visual Studio development environment will not recognize your project. To open and build your project using Visual Studio, first create an empty project containing the appropriate build settings using the Makefile Project Wizard. You can then use this project to build your project from the Visual Studio development environment.
The project displays no files in Solution Explorer. The project specifies the build settings, which are reflected in the project's property page.
The output file that you specify in the project has no effect on the name that the build script generates; it declares only an intention.
To create a Makefile project
Follow the instructions in the help topic Creating a Project with a Visual C++ Application Wizard.
In the New Project dialog box, select Makefile Project in the Templates pane to open the wizard.
In the Application Settings page, provide the command, output, clean, and rebuild information.
Click Finish to close the wizard and open the newly created project in Solution Explorer.
You can view and edit the project's properties in its property page. See Setting Visual C++ Project Properties for information about displaying the property page.