The working directory of the make should be the root folder of the project.
To create a C Makefile project:
-
Select , select , and then click Next.
-
In the Project name field, type a name for your project.
-
In the Project Types area, expand Makefile and select Empty project.
-
In the Toolchain list, select QNX QCC.
-
Click Finish.
Next, you'll change the project properties.
-
In the Target Navigator view, select the new project you created, right-click and select Properties.
-
On the left, select C/C++ Build.
-
On the right, select the Builder settings tab and deselect the option Use default build command.
-
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).
-
Click the Behavior tab, then add your targets for running an incremental build, the clean build, and the compile build.
-
Ensure that the option Build (Incremental Build) is selected; otherwise, the build can't be started.
-
Specify any other desirable options for properties on the other panels.
-
Click OK.
-
When everything is properly configured, from the toolbar menu select to run the make project.