The ``make all" command first extracts the LIB and MAI sections from the master file, substitutes the chosen values for all the symbolic parameters, inserts the complete specifications of the COMMON blocks and includes chosen flagged lines by inserting an unflagged copy. The resulting files libmk4.f and maimk4.f are added to the $CCSL/source sub-directory.
In a second step the libmk4.f file is split into individual routines each of which is compiled separately and all the object modules are archived in the file $CCSL/libmk4.a. Modules which fail to compile are placed in the directory $CCSL/bad and the error messages from the compilation in $CCSL/fortran.errors. If compiled successfully both the source and object modules are deleted. The compiler commands are specified in the file $CCSL/options/f77_choices.
The main programs to be loaded are listed in the file
$CCSL/options/list_of_progs. Programs which use graphics require
some switches to be given. The currently recognised switches are:
The make all command will extract the graphics part (PIG) from the master file
and place the fortran source file containing all the different versions in
$CCSL/graf/pigmk4.f. Then for each program in the list it gets the FORTAN code
from maimk4.f, compiles it and links it with $CCSL/lib/libmk4.a. Where
indicated by the switches the appropriate graphics routine and any associated
graphics libraries are also included. The location of the graphics library must be
defined in the file $CCSL/options/graphics_choices. The executable code
corresponding to programs which have been successfully compiled and linked are
transferred to the directory $CCSL/exe; they are identified by the name of the
program.