next up previous contents index
Next: A2.3 Building the Test Up: A2. Building The Code Previous: A2.1 Code Organization   Contents   Index

A2.2 Building the Library

Assuming the current working directory is the top-level directory, jtpack77-MM.mm, the following commands will build the various versions of the library:

Command Version Result
gmake jtpack77_4 real*4, optimized libjtpack77_4.a
gmake jtpack77_4g real*4, debug libjtpack77_4g.a
gmake jtpack77_8 real*8, optimized libjtpack77_8.a
gmake jtpack77_8g real*8, debug libjtpack77_8g.a

By default the libraries are placed in the subdirectory named lib. They can be located elsewhere by use of the libdir make variable, e.g.

gmake libdir="/usr/local/lib" jtpack_8


next up previous contents index
Next: A2.3 Building the Test Up: A2. Building The Code Previous: A2.1 Code Organization   Contents   Index
John A. Turner