Adding a make target

A make target is an action called by the make utility to perform a customized build-related task. For example, many makefiles support a target named clean, which gets called as make clean. The IDE lets you call your own target such as myMakeAction to be called as make myMakeAction. You can also use a make target to pass options such as CPULIST=x86, which causes the make utility to build only for x86. These options work only if they are already defined in the makefile.

If you have added your own make targets, you can configure the IDE to call them specifically.

To add a customized make target to the C/C++ Projects view context menu

  1. In C/C++ Projects view, right-click a project and click Add Make Targets. The Target dialog box opens.
  2. In the Enter Target(s): field, type the name of the make target.
  3. Click OK. The target option is added under the Make menu item on the C/C++ Projects view context menu.
Copyright IBM Corporation
 2000, 2002. All Rights Reserved.