ext: Remove dead code from fixture.py
[gem5.git] / ext / sst / Makefile
1 # These two variables are designed to be modifiable.
2 SST_VERSION=SST-trunk
3 GEM5_LIB=gem5_opt
4
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
7 CPPFLAGS+=-MMD -MP
8 SRC=$(wildcard *.cc)
9
10 .PHONY: clean all
11
12 all: libgem5.so
13
14 libgem5.so: $(SRC:%.cc=%.o)
15 ${CXX} ${CPPFLAGS} ${LDFLAGS} $? -o $@ -l${GEM5_LIB}
16
17 -include $(SRC:%.cc=%.d)
18
19 clean:
20 ${RM} *.[do] libgem5.so