root/tools/osm2pgrouting/trunk/Makefile

Revision 215, 508 bytes (checked in by anton, 2 years ago)

osm2pgrouting: PostgreSQL include path fixed in Makefile

Line 
1CC = g++
2
3SRC = src/Export2DB.cpp src/math_functions.cpp src/Node.cpp src/OSMDocumentParserCallback.cpp src/Way.cpp src/OSMDocument.cpp src/Type.cpp src/Class.cpp src/Configuration.cpp src/ConfigurationParserCallback.cpp
4
5DEPS = src/XMLParser.cpp
6
7INC = -I./ -Isrc -I/usr/include/pgsql -I/usr/include/postgresql
8
9MAIN = src/osm2pgrouting.cpp
10
11all:
12        $(CC) -c $(SRC) $(INC) -ggdb3
13        $(CC) -c $(DEPS) $(INC) -ggdb3
14        $(CC) -o osm2pgrouting $(MAIN) *.o $(INC) -lexpat -ggdb3 -lpq
15        rm *.o
16clean:
17        rm osm2pgrouting
18
Note: See TracBrowser for help on using the browser.