source: proto/pabloj/trunk/output/cpplang/Makefile @ 3013

Last change on this file since 3013 was 3013, checked in by ksherdy, 6 years ago

Updated packages.

File size: 557 bytes
Line 
1OUTFILE=test
2SRCFILE=test.cpp
3
4CC= g++ $(CFLAGS)
5CFLAGS= $(SSE) -O2
6SSE=-msse2 #-msse4.1 -DUSE_PTEST #-mssse3 -msse4.1 -msse4.2
7INCLUDES=-I../../../parabix2/lib -I../../../parabix2/util
8
9ARCH=$(shell getconf LONG_BIT)
10ifeq ($(ARCH),32)
11    AFLAGS=-march=pentium4
12    PAPI=-I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -Ilib/cclib
13else
14    AFLAGS=-march=nocona -m64
15    PAPI=-I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi -DPAPI -Ilib/cclib
16endif
17
18all:    $(SRCFILE)
19        $(CC) -o $(OUTFILE) $(SRCFILE) $(INCLUDES) $(AFLAGS) 
20
21clean: 
22        rm -f $(OUTFILE) 
23
24
Note: See TracBrowser for help on using the repository browser.