source: trunk/PerfTest/xerces_markup_stats/Makefile @ 152

Last change on this file since 152 was 152, checked in by lindanl, 11 years ago

Makefile variables for 64-bit mode; performance definitions.

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