Create a new Makefile project with existing code
You can create a new Makefile project in Arm® Development Studio with your existing source code.
The following procedure describes how to create a new Makefile project in the same directory as your source code.
Create a Makefile project:
- Select File > New > Project... from the main menu.
- Expand the C/C++ group, select Makefile Project with Existing Code, and click Next.
- Enter a project name and enter the location of your existing source code.
Select the toolchain that you want to use for Indexer Settings. Indexer Settings provide source code navigation in the Arm Development Studio IDE.
Figure 2-2 Creating a new Makefile project with existing code
- Click Finish to create your new project. The project and source files are visible in the Project Explorer view.
Create a Makefile:
Before you can build the project, you need to have a
Makefilethat contains the compilation tool settings. The easiest way to create one is to copy the
Makefilefrom an example project, and paste it into your new project.
Makefilefor your new project.
Right-click the project and then select Properties > C/C++ Build to access the build settings. In the Builder Settings tab, check that the Build directory points to the location of the
- Before you can build the project, you need to have a
- Add any other source files you need to the project.
- Build the project. In the Project Explorer view, right-click the project and select Build Project.