Creating a Core Build System Makefile project

This tutorial describes the process of creating a new C/C++ project that includes a Makefile file.

You need to create a project to contain your source code and related files. A project has an associated builder that can incrementally compile source files as they are changed.

To create a project:

  1. Select File  New  Project.

    When you create a new project, you are required to specify the project type. This project type will determine the toolchain, data, and tabs that the CDT uses/displays.

  2. Select the type of project to create. For this tutorial, expand the C/C++ folder and select C/C++ Project.

  3. Click Next.

Select project type

The C/C++ Project wizard opens:

c cpp project wizard

By default, the CDT presents all C/C++ Project templates.

  1. Select the Make template filter and choose from the Makefile project project template.

    c cpp project wizard makefile

  2. Click Next.

  3. In the Project name field, provide a name for the new project.

  4. Leave the Use Default Location option selected.

  5. Select Create Hello World Source and Makefile example to get a Hello World example application.

  6. Click Finish.

  7. If a message box prompts you to change perspectives, click Yes.

c cpp project wizard makefile properties

Your new project displays in the Project Explorer view. Your project may be empty if you did not select the Hello World example creation. You can now start writing the code for your application or importing code from elsewhere.


Copyright (c) 2000, 2025 Contributors to the Eclipse Foundation