Creating a C Standard Make Project

Follow these steps to create a C standard make project:

  1. If you have not yet opened a C/C++ Perspective, select Open Perspective > C/C++. This places the C/C++ Projects view next to the Navigator view.
  2. Select the C/C++ Projects tab, then right click in the view space below to open the context menu. Select Project.
  3. In the New Project wizard, expand the section under C and select Standard Make C Project. Click Next to continue.
  4. In the C/Make Project dialog, enter scanner_test for the Project name. You may use your default workspace, or change the Directory location. Click Next to continue.
  5. On the C/Make Project Settings page, select the Discovery Options tab, and check that these settings agree with your global preferences. Click Finish.

If you have selected Project > Build Automatically, errors are generated in the Problems view for "no rule to make target clean" and "no rule to make target all." These errors are expected, since the makefile has not been created.

If you expand the entries under the scanner_test project name in the C/C++ Projects view, you should see entries for the directories the compiler installation adds to the include file path.

You will also see an entry for /usr/include.  This information was 'discovered' by Eclipse* since the "icc -dryrun -c ..." command is in the project options.