next up previous contents
Next: Macros Pertaining To Installation Up: Standard Macros Previous: Macros Pertaining To Tasks   Contents

Macros Pertaining To Libraries

The standard Makefile provides direct support for building shared and/or static libraries which have source files in C, C++ and/or Fortran. The following family of macros controls this process:

At least one of the source macros must contain at least one file if the HD_LIBRARY_ROOT macro is defined. With these macros properly defined, the standard Makefile will build the library as part of the default target. First all the source files listed in the source macros will be compiled, then they will be placed into the relevant shared or static library.


next up previous contents
Next: Macros Pertaining To Installation Up: Standard Macros Previous: Macros Pertaining To Tasks   Contents
Bryan Irby 2018-06-27