Using Sun WorkShop

Reviewing and Overriding Makefile Macros

A macro definition that appears in the Persistent Build Macros list overrides any macro with the same name that appears in the makefile.

To review the current macro definitions, click More to open the Makefile Macros list, which displays all the macros that are defined in the makefile associated with the build target. You can filter the list using the Filter text box.

To override the value of a makefile macro:

  1. Select a macro in the Makefile Macros list.

  2. Click <<Add to add the macro to the Persistent Build Macros list.

  3. Type a new value in the Value text box and click Change.

  4. Click OK to establish the change and close the dialog box.

    The macro definition in the Persistent Build Macros list overrides the macro definition in the makefile, and is saved with your WorkSet.

  5. Click Build in the Edit Target dialog box to start the build with the new values.