Building With Default Values

Related Topics:

Stopping a Build Targets
Specifying Your Own Build Values Fixing Build Errors

The Sun WorkShopTM programming environment provides a default make target and a default make command (The dmake Command), so you can begin a build without specifying a build command or a make target. You must still supply a makefile when you are building a user makefile project or when a project is not loaded (Sun WorkShop searches for a file named makefile or Makefile and allows make to figure out which one to use).

By using the project feature of Sun WorkShop, you can ask Sun WorkShop to create a makefile for you through the Create New Project wizard or the Edit Current Project window. See Working With Projects for more information.

To build a program using default build values:

1. Look in the Directory status field in the Building Window to be sure the correct build directory is listed.

The build directory is the directory from which the build process is run and the default directory for the makefile. See Specifying the Build Directory if you want to change the build directory.

2. Start a build by choosing Build Start Build.

Sun WorkShop looks for a file named makefile in the build directory and uses the first make target in that makefile. The build output is displayed in the Build Output Display Pane in the Building Window.