Scenario

Learn how to set up multiple-platform development in the /proj/monet/src directory.

You can perform a build for a particular architecture as follows:

  1. Log on to a host of the desired architecture, for example, a workstation running Solaris 11.
  2. In your regular view, move to the source directory, /proj/monet/src.
  3. Enter the command clearmake Makefiles to have imake create the appropriate makefile in the architecture-specific subdirectory sun5.
    Note: A makefile is a derived object, not a source file. Thus, there is no need to create an element from this file.
  4. Move to the sun5 subdirectory and build software for that architecture using clearmake.

For more information on how imake is involved in each of these steps, see Creating makefiles in the source and build directories.