15.1.1. Makefile Commands

Up: Contents Next: Customized Makefiles Previous: Our Makefile System

The directory ${}PETSC_DIR/bmake contains virtually all makefile commands and customizations to enable portability across different architectures. Most makefile commands for maintaining the PETSc system are defined in the file ${}PETSC_DIR/bmake/common. These commands, which process all appropriate files within the directory of execution, include


Most other commands are intended for PETSc developers are generally not needed by users.
The tree command enables the user to execute a particular action within a directory and all of its subdirectories. The action is specified by ACTION=[action], where action is one of the basic commands listed above. For example, if the command
   make BOPT=g ACTION=lib tree 
were executed from the directory ${}PETSC_DIR/src/sles/ksp, the debugging library for all Krylov subspace solvers would be built.


Up: Contents Next: Customized Makefiles Previous: Our Makefile System