source: perf/stream2runs/Makefile @ 415

Last change on this file since 415 was 415, checked in by ksherdy, 9 years ago

Initial check in.

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