Allowing a Makefile project to be launched outside the IDE

To allow a Makefile project to be launched outside the IDE:
  1. In the Project Explorer view, select a Makefile project, right-click and select Properties.
  2. On the left, select C/C++ Build.
  3. In the Makefile generation panel in the area on the right, verify that Generate Makefiles automatically and Expand Env. Variable Refs in Makefiles are selected.
  4. On the left, expand C/C++ Build and select Tool chain editor.
  5. In the Current builder list (in the right area), select the GNU Make Builder.
  6. Specify any other desirable options for properties in the other panels.
  7. Click OK.
    The IDE generates a number of .mk files and a top-level Makefile for each processed configuration (the last one in the configuration folder). This Makefile can be processed from the command line using the make utility:
    make -f [configuration]/makefile [target]

    Every time any configuration is changed, updated, or deleted, you need to refresh the project's make infrastructure either by regenerating the .mk files and Makefile or changing the existing files manually.