source: branches/parabix-svgopen-2008/PerfTest/expat_markup_stats/Makefile @ 217

Last change on this file since 217 was 192, checked in by ksherdy, 11 years ago

Updated PerfTest? Makefiles to autodetect 32 vs. 64 bit architecture on Intel.
Initial Intel Markup Stats check in.
Renamed Xerces-C files names to be Xerces-C specific.

File size: 663 bytes
Line 
1CC=g++
2CFLAGS= -O3
3
4ARCH=$(shell getconf LONG_BIT)
5ifeq ($(ARCH),32)
6    AFLAGS=-march=pentium4
7        LIBS=-L/opt/expat_2_0_1/lib
8    PAPI=-DPAPI -I/usr/local/papi-3.5.0-linux-x86/include -L/usr/local/papi-3.5.0-linux-x86/lib -lpapi     
9else
10    AFLAGS=-march=nocona -m64
11        LIBS=-L/opt/expat_2_0_1/lib   
12    PAPI=-DPAPI -I/usr/local/papi-3.5.0-linux-x86/include -L/usr/local/papi-3.5.0-linux-x86/lib64 -lpapi     
13endif
14
15INCLUDES=-I/opt/expat_2_0_1/include
16LINKS=-lexpat
17   
18all: expat_markup_stats.c
19        $(CC) $(CFLAGS) -o expat_markup_stats expat_markup_stats.c -DCALC_AVG $(AFLAGS) $(INCLUDES) $(OBJECTS) $(LIBS) $(LINKS) $(PAPI)
20       
21clean:
22        rm -f expat_markup_stats
Note: See TracBrowser for help on using the repository browser.