next up previous contents index
Next: 3.6 Compiler Macros Up: 3 Program Files, Installation, Previous: 3.4 Fortran Files   Contents   Index


3.5 Configure Script

The configure script produces a Makefile. It is controlled by environment variables (see below). It tries to use reasonable default values if they are not set (properly). In the script the machine type is determined with `uname -m`. According to the control variables and the machine architecture the compiler name and its compiler flags are composed. These are written into the header of a Makefile which is produced in the end. An existing Makefile is appended to
  Makefile_old.
Additionally the compilation command is written into the file
  'compiler_flags.info'
in a form ready to be included in a Fortran program. The environment variables that control the script are Some examples can be found in Sect. 3.2.
next up previous contents index
Next: 3.6 Compiler Macros Up: 3 Program Files, Installation, Previous: 3.4 Fortran Files   Contents   Index