source: trunk/PerfTest/expat_markup_stats/Makefile @ 148

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

Add CALC_AVG directive.

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