Makefile: build static library with libdramsim.a

Signed-off-by: Emilio G. Cota <cota@braap.org>
gitignore: add *.deppo

Signed-off-by: Emilio G. Cota <cota@braap.org>
example_app: add dramsim_test to .gitignore

Signed-off-by: Emilio G. Cota <cota@braap.org>
PrintMacros: add missing include of <iostream>

The header file should be safely included even if there are
no other previously included header files. Fix it.

Signed-off-by: Emilio G. Cota <cota@braap.org>
PrintMacros: define SHOW_SIM_OUTPUT as weak symbol

When linking against libdramsim, library users have to define
SHOW_SIM_OUTPUT in order to avoid linking errors now that
the TraceBasedSim object is gone.

Fix it by emitting a weak version of the symbol. In case of the
DRAMSim tool, this weak symbol is overruled by the (strong) symbol
in TraceBasedSim. Library users can optionally overrule the
weak symbol.

Signed-off-by: Emilio G. Cota <cota@braap.org>
TraceBasedSim: remove unused variable 'dramsim_logfile'

Signed-off-by: Emilio G. Cota <cota@braap.org>