Specifying Your Own Build Values

Related Topics:

Stopping a Build Fixing Build Errors

If you have a makefile with a unique name, a specific make target, or a specific build command, you can define those build values in the Define New or Edit Target Dialog Boxes (this applies to a user makefile project or when a project is not loaded). The default build values are listed in the dialog box, and you can use those defaults (see Building With Default Values) or define your own build values. For example, by specifying your own build command, you can filter out unnecessary warnings by passing make output through a filter.

All Sun WorkShop needs is a build directory. It will then use the make command to find the makefile using make's search order. See the make(1S) man page for more information.

See Targets and Working With Projects for more information.

To build a program using your own (nondefault) build values:

1. Choose one of the following commands:

2. In the Directory text box, type the name of the directory in which you want to build (see Specifying the Build Directory).

3. In the Makefile text box, type the name of the makefile you want (see Specifying a Makefile).

4. In the Target text box, type the name of the make target you want (see Specifying a Make Target).

5. In the Command text box, type the name of the build command you want (see Specifying a Build Command).

6. Click Build to start a build with the settings listed in the dialog box.

The build output is displayed in the Build Output Display Pane in the Building Window.