2015-06-30 22:57:26 +00:00
|
|
|
# set CONFIG_MK to allow compilation without running configure
|
|
|
|
CONFIG_MK = 1
|
2015-02-26 15:02:31 +00:00
|
|
|
|
2019-06-21 18:15:22 +00:00
|
|
|
include $(dir $(lastword $(MAKEFILE_LIST)))../../../share/trick/makefiles/Makefile.common
|
2015-06-30 22:57:26 +00:00
|
|
|
# set the TRICK_LIB variable to create a separate library for the Memory Manager.
|
|
|
|
TRICK_LIB := $(TRICK_LIB_DIR)/libtrick_mm.a
|
2015-06-01 15:28:29 +00:00
|
|
|
include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
|
2015-02-26 15:02:31 +00:00
|
|
|
-include Makefile_deps
|
|
|
|
|
2015-06-30 22:57:26 +00:00
|
|
|
# make the Memory Manager library when called by the master makefile.
|
|
|
|
trick: ${TRICK_LIB}
|
2015-02-26 15:02:31 +00:00
|
|
|
|
2015-06-30 22:57:26 +00:00
|
|
|
#include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
|
|
|
|
#include ${TRICK_HOME}/share/trick/makefiles/Makefile.tricklib
|
|
|
|
#-include Makefile_deps
|
|
|
|
#
|
|
|
|
#$(L_OBJS) : TRICK_CXXFLAGS += -Wno-unused-parameter -Wno-unused-function -Wno-sign-compare -x c++
|
|
|
|
#$(Y_OBJS) : TRICK_CXXFLAGS += -Wno-unused-parameter -Wno-unused -x c++
|
|
|
|
#
|
|
|
|
#ifeq ($(IS_CC_CLANG), 1)
|
|
|
|
#$(Y_OBJS) : TRICK_CXXFLAGS += -Wno-parentheses-equality
|
|
|
|
#endif
|
|
|
|
#
|
|
|
|
## suppress warnings files with shadowing.
|
|
|
|
#$(CPP_OBJS) : TRICK_CXXFLAGS += -Wno-shadow
|
|
|
|
#
|
2015-02-26 15:02:31 +00:00
|
|
|
|
|
|
|
docs: MM.doxygen
|
|
|
|
doxygen MM.doxygen
|