1 # These two variables are designed to be modifiable.
5 LDFLAGS
=-shared
-fno-common
${shell pkg-config
${SST_VERSION} --libs
} -L..
/..
/build
/ARM
6 CXXFLAGS
=-std
=c
++0x
-g
-O2
-fPIC
${shell pkg-config
${SST_VERSION} --cflags} ${shell python-config
--includes
} -I..
/..
/build
/ARM
14 libgem5.so
: $(SRC
:%.
cc=%.o
)
15 ${CXX} ${CPPFLAGS} ${LDFLAGS} $?
-o
$@
-l
${GEM5_LIB}
17 -include $(SRC
:%.
cc=%.d
)
20 ${RM} *.
[do
] libgem5.so