source: proto/gml2svg/lib/C/gml2svg/Makefile @ 1705

Last change on this file since 1705 was 1705, checked in by ksherdy, 8 years ago

Updated file permissions.

File size: 639 bytes
Line 
1CC= g++
2CFLAGS= -O3
3
4ARCH=$(shell getconf LONG_BIT)
5ifeq ($(ARCH),32)
6    AFLAGS=-march=pentium4
7    PAPI=-DPAPI -I/usr/local/papi-3.5.0-linux-x86/include -L/usr/local/papi-3.5.0-linux-x86/lib -lpapi
8else
9    AFLAGS=-march=nocona -m64
10    PAPI=-DPAPI -I/usr/local/papi-3.5.0-linux-x86/include -L/usr/local/papi-3.5.0-linux-x86/lib64 -lpapi
11endif
12
13all:    gml2svg_util.h gml2svg_util.cpp gml2svg_constants.h gml2svg_constants.cpp vancouver_constants.h vancouver_constants.cpp
14        $(CC) $(CFLAGS) -c gml2svg_util.cpp gml2svg_constants.cpp vancouver_constants.cpp  $(AFLAGS)
15
16clean:
17                rm -f gml2svg_util.o gml2svg_constants.o vancouver_constants.o
Note: See TracBrowser for help on using the repository browser.