source: trunk/lib/test/Makefile @ 1851

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

Updated test generator Makefile.

File size: 696 bytes
Line 
1CC= g++ $(CFLAGS)
2CFLAGS= $(SSE) #-O3
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
15byte_compare_generator: byte_compare_generator.cpp
16        $(CC) -o byte_compare_generator byte_compare_generator.cpp $(AFLAGS)
17
18byte_compare_test:      byte_compare_test.cpp
19        $(CC) -o byte_compare_test byte_compare_test.cpp $(AFLAGS)
20
21clean:
22        rm -f byte_compare_generator byte_compare_test byte_compare_test.cpp
Note: See TracBrowser for help on using the repository browser.