Table of Contents

Name

addlib - add module(s) to a library

Synopsis

addlib lib-name module-file(s)s

Description

addlib adds modules to a library. The module names way be in the form of source files (extensions must be .c or .f) or may already be in object form (extension .o). Source file modules are compiled using cc(1) or f77(1)

The modules are added using ar(1) and ranlib(1) will be run after all modules have been added/replaced.

addlib is not NEMO specific, no NEMO environment variables are used (see below)

Environment Variables


CFLAGS    flags for the cc(1) C compiler
FFLAGS    flags for the f77(1) fortran compiler

See Also

mklib(8NEMO) , mkbin(8NEMO)

Files


src/nemo/lib    source code for addlib, mklib, mkbin

Author

Peter Teuben

Update History


22-Nov-89    V1.0: created for miriad              PJT


Table of Contents