15.1.2. Customized Makefiles

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:


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