CONGEN is constructed using either the make command on Unix machines or the MMS utility on VMS. There is a master makefile or descrip.mms file in CG, which will invoke all the necessary makefiles needed to build the entire system. These makefiles work fine on most machines, but have trouble on the Convex because their make program is older.
In order to handle the different compiler names and flags necessary for each different machine, many of the CONGEN directories have a file named makefile.gen which is missing definitions for these macros. In the CG directory, there are a set of *.make files which contain the macros needed for each type of machine. The names of the *.make files is as follows:
There is a program, fixmake, in the CG directory which will take one of these files, and incorporate into a makefile.
The selection of machine is done via the CGPLATFORM environment variable which is set in $CG/cgdefs or $CG/cgprofile.
The master makefile has several different targets that can be specified to build parts of the system. Use them with care. They are listed as follows:
In order to construct CONGEN from scratch on a brand new machine, the following steps must be followed:
To make a new directory tree for a different SGI platform, perform the following steps:
 The installation script is Copyright © 1984, 1985,1986, 1987, 1988, 1989, 1990, 1991 by the Massachusetts Institute of Technology.
Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of MIT not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. MIT makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.