source: trunk/lib/test/Makefile @ 1827

Last change on this file since 1827 was 1827, checked in by ksherdy, 8 years ago

Update byte compare routine. Added generatated test cases.

File size: 525 bytes
Line 
1CC= g++ $(CFLAGS)
2CFLAGS= $(SSE) -O3 -g
3SSE=-msse2 #-msse4.1 -DUSE_PTEST #-mssse3 -msse4.1 -msse4.2
4PAPI_DIR=/usr/local
5
6ARCH=$(shell getconf LONG_BIT)
7ifeq ($(ARCH),32)
8    AFLAGS=-march=pentium4
9    CODE_CLOCKER=-DCODE_CLOCKER -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
10else
11    AFLAGS=-march=nocona -m64
12    CODE_CLOCKER=-DCODE_CLOCKER -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
13endif
14
15gen:    gen.cpp
16        $(CC) -o gen gen.cpp $(AFLAGS)
17
18test:   test.cpp
19        $(CC) -o test test.cpp $(AFLAGS)
20
21clean:
22        rm -f gen test test.cpp
Note: See TracBrowser for help on using the repository browser.