source: trunk/PerfTest/xerces_markup_stats/Makefile @ 149

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

Add CALC_AVG directive. Update xerces installation directory.

File size: 918 bytes
Line 
1CC= g++ $(CFLAGS)
2CFLAGS= -O3 # -g
3OS = $(shell uname)
4ICONV_FLAGS=
5ifeq ($(OS),Darwin)
6        ICONV_FLAGS=-liconv
7endif
8
9INCLUDES=-I/usr/local/papi-3.5.0-linux-x86/include -I/opt/xerces-c_2_8_0-x86-linux-gcc_3_4/include
10LINKS=-lpapi -lxerces-c
11LIBS=-L/usr/local/papi-3.5.0-linux-x86/lib64 -L/opt/xerces-c_2_8_0-x86-linux-gcc_3_4/lib
12
13xerces_markup_stats_32: xerces_markup_stats.hpp xerces_markup_stats.cpp markup_stats_handlers.hpp markup_stats_handlers.cpp
14        $(CC) -o xerces_markup_stats xerces_markup_stats.cpp markup_stats_handlers.cpp -march=pentium4 $(INCLUDES) $(LINKS) $(LIBS) -DPAPI -DDEBUG -DCALC_AVG
15
16xerces_markup_stats_64: xerces_markup_stats.hpp xerces_markup_stats.cpp markup_stats_handlers.hpp markup_stats_handlers.cpp
17        $(CC) -o xerces_markup_stats xerces_markup_stats.cpp markup_stats_handlers.cpp -march=nocona -m64 $(INCLUDES) $(LINKS) $(LIBS) -DPAPI -DDEBUG -DCALC_AVG
18       
19clean:
20        rm -f xerces_markup_stats
Note: See TracBrowser for help on using the repository browser.