The complete program is compiled from the top level make file. Both a
standalone program (logger
) and a
libtool compliant library
(liblogger.la
) are created. The library
provides a convenient mechanism for reusing the code from this
model, when creating subsequent models which use derived classes.
The SystemC modules are all compiled with
SC_INCLUDE_DYNAMIC_PROCESSES
defined when
using TLM 2.0. This is a requirement for using the TLM 2.0
library. The final executable is linked against the SystemC
library.