Prism 6.0 User's Guide

Using the Makefile

After you have made changes in your program, you can run make to update the program.

Prism uses the standard Solaris make utility, /usr/ccs/bin/make, unless you specify otherwise. You do this by using the Customize utility to change the setting of a Prism resource; see " Using the Customize Utility".

Figure 8-1 The make Window

Graphic

The window prompts for the names of the makefile, the target file(s), the directory in which the makefile is located, and other arguments to make. If a file is loaded, its name is in the Target box, and the directory in which it is located is in the Directory box; you can change these if you like.

If you leave the Makefile or the Target box empty, make uses a default. See your Solaris documentation for a discussion of these defaults. If you leave the Directory box empty, make looks for the makefile in the directory from which you started Prism.

You can specify any standard make arguments in the Other Args box.

The dialog box also asks if you want to reload after the make. Answering Yes (the default) automatically reloads the newly compiled program into Prism if the make is successful. If you answer No, the program is not reloaded.

To cancel the make while it is in progress, click on the Cancel button. If a make is not in progress, clicking on Cancel closes the window.

The output from make is displayed in the box at the bottom of the Make window. Subsequent makes use the same window, unless you start a new make while a previous make is still in progress.

From the command window - Issue the make command on the command line. You can specify any arguments that are valid in the Solaris version of make.