Up: Contents
Next: PETSc Flags
Previous: Makefile Commands
The directory ${}PETSC_DIR/bmake contains a subdirectory for each
architecture that contains machine-specific information, enabling the
portability of our makefile system.
For instance, for Sun SPARCstations running OS 4.1.3, the
directory is called sun4. Each architecture directory contains
two base makefiles:
- base.site - locations of all needed include
and library files for a particular site. This file (discussed
below) is usually the only one that the user needs to alter.
- base_variables - definitions of the compilers, linkers, etc.
Each architecture base file, denoted by
${}PETSC_DIR/bmake/${}PETSC_ARCH/base,
includes the file ${}PETSC_DIR/bmake/common,
which contains the rules discussed in Section Makefile Commands
that are common to all machines.
Up: Contents
Next: PETSc Flags
Previous: Makefile Commands