Last change
on this file since 56 was
56,
checked in by meunier, 11 years ago
|
- Tried to fix a problem with echo
- Started to resolve some tests failing (often because of the test itself)
|
File size:
1.3 KB
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | TARGET_ARCH = linux64 |
---|
4 | |
---|
5 | ifeq (${TARGET_ARCH},Darwin) |
---|
6 | DYNAMICLIB_FLAG = -dynamic |
---|
7 | ENDIANESS_FLAG = #-mlittle-endian |
---|
8 | else |
---|
9 | DYNAMICLIB_FLAG = -rdynamic |
---|
10 | ENDIANESS_FLAG = |
---|
11 | endif |
---|
12 | ifndef SYSTEMC |
---|
13 | $(error SYSTEMC should be set to SystemC directory (OSCI version) \ |
---|
14 | to compare simulation results.) |
---|
15 | endif |
---|
16 | |
---|
17 | SYSTEMC_INC = $(SYSTEMC)/include |
---|
18 | SYSTEMCASS_INC = $(SYSTEMCASS)/include |
---|
19 | SYSTEMC_LIB = $(SYSTEMC)/lib-${TARGET_ARCH}/libsystemc.a |
---|
20 | SYSTEMCASS_LIB = $(SYSTEMCASS)/lib-linux/libsystemc.a |
---|
21 | CXX = g++ |
---|
22 | CPPFILT = c++filt |
---|
23 | DEBUG = -g -DDEBUG |
---|
24 | #OPT = -O2 |
---|
25 | #PROF = -pg # gcc |
---|
26 | #PROF = -qp # icc |
---|
27 | #EFENCE = /users/cao/viaud/bin/lib/libefence.a -lpthread |
---|
28 | CFLAGS = $(PROF) $(DEBUG) $(OPT) \ |
---|
29 | -Wall \ |
---|
30 | -fopenmp \ |
---|
31 | -UENABLE_TRACE -UENABLE_PAT -I. -I.. \ |
---|
32 | ${ENDIANESS_FLAG} |
---|
33 | |
---|
34 | LFLAGS = $(PROF) $(BFD_LIBERTY) -ldl -fopenmp |
---|
35 | |
---|
36 | CFLAGS_SYSTEMC = $(CFLAGS) \ |
---|
37 | -I$(SYSTEMC_INC) \ |
---|
38 | |
---|
39 | CFLAGS_SYSTEMCASS = $(CFLAGS) \ |
---|
40 | -I$(SYSTEMCASS_INC) \ |
---|
41 | ${DYNAMICLIB_FLAG} #-Wno-deprecated |
---|
42 | |
---|
43 | LFLAGS_SYSTEMC = $(LFLAGS) \ |
---|
44 | $(SYSTEMC_LIB) |
---|
45 | |
---|
46 | LFLAGS_SYSTEMCASS = $(LFLAGS) \ |
---|
47 | ${DYNAMICLIB_FLAG} $(SYSTEMCASS_LIB) ${EFENCE} |
---|
48 | |
---|
49 | ECHO = /bin/echo |
---|
50 | SILENCE = @ |
---|
51 | |
---|
Note: See
TracBrowser
for help on using the repository browser.