Many operating systems provide a facility for dynamically loading
compiled objects. If your system provides this facility, GNU
make can make use of it to load dynamic objects at runtime,
providing new capabilities which may then be invoked by your makefile.
load directive is used to load a dynamic object. Once the
object is loaded, a “setup” function will be invoked to allow the
object to initialize itself and register new facilities with GNU
make. A dynamic object might include new
for example, and the “setup” function would register them with GNU
make’s function handling system.
|• load Directive:||Loading dynamic objects as extensions.|
|• Remaking Loaded Objects:||How loaded objects get remade.|
|• Loaded Object API:||Programmatic interface for loaded objects.|
|• Loaded Object Example:||Example of a loaded object|