Creating a C Makefile project

The working directory of the make should be the root folder of the project.

To create a C Makefile project:

  1. Select File > New > Project , select C > C Project , and then click Next.
  2. In the Project name field, type a name for your project.
  3. In the Project Types area, expand Makefile and select Empty project.
  4. In the Toolchain list, select QNX QCC.
  5. Click Finish. Next, you'll change the project properties.
  6. In the Target Navigator view, select the new project you created, right-click and select Properties.
  7. On the left, select C/C++ Build.
  8. On the right, select the Builder settings tab and deselect the option Use default build command.
  9. In the make field, add the command line (without the target to build) that calls your make (e.g. c:\make\make -f makefile.mak -k).
  10. Click the Behavior tab, then add your targets for running an incremental build, the clean build, and the compile build.
  11. Ensure that the option Build (Incremental Build) is selected; otherwise, the build can't be started.
  12. Specify any other desirable options for properties on the other panels.
  13. Click OK.
  14. When everything is properly configured, from the toolbar menu select Project > Build Project to run the make project.
Related concepts
Creating a C/C++ project
Converting projects
How to create a C/C++ project
Related tasks
Creating a simple project
Creating a make project
Creating a make project that can be launched outside the IDE
Creating a target system project
Importing projects
Renaming a project