Changing a Macro Value
Related Topics:
Through the Make Macros Dialog Box, reassign values for Makefile Macros that you have added to the macros list. A macro value is what the macro name actually represents.
To change the value of a macro:
- 1. Choose Build
Edit Target.
- 2. Select a Sun WorkShop target from the list.
- The Define New or Edit Target Dialog Boxes opens.
- 3. Click Macros in the Edit Target dialog box to open
- The Make Macros dialog box opens.
- 4. Click More.
- The Makefile Macros list displays all the macros that are defined in the makefile associated with the build target. Filter the list using the Filter text box.
- 5. Select a macro in the Makefile Macros list.
- 6. Click <<Add to add the macro to the Persistent Build Macros list.
- 7. Type a new value in the Value text box.
- 8. Click Change.
- 9. Click OK to establish the change and close the dialog box.
- 10. Click Build in the Edit Target dialog box to start the build with the new values.