source: trunk/lib/test/Makefile @ 1819

Last change on this file since 1819 was 1819, checked in by ksherdy, 7 years ago

Added regression test directory.

File size: 547 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
15OUTFILE=test
16SRCFILE=test.cpp
17
18gen:    gen.cpp
19        $(CC) -o gen gen.cpp $(AFLAGS)
20
21test:   test.cpp
22        $(CC) -o test test.cpp $(AFLAGS)
23
24clean:
25        rm -f gen test
Note: See TracBrowser for help on using the repository browser.