Revision 189, 387 bytes
(checked in by murray, 2 years ago)
|
osm2pgrouting: add a new tool to this project, which converts and imports osm data to a pgrouting
table
|
Line | |
---|
1 | |
---|
2 | CC = g++ |
---|
3 | |
---|
4 | SRC = ../src/Export2DB.cpp ../src/math_functions.cpp ../src/Node.cpp ../src/OSMDocumentParserCallback.cpp ../src/Way.cpp ../src/OSMDocument.cpp |
---|
5 | |
---|
6 | DEPS = ../src/XMLParser.cpp |
---|
7 | |
---|
8 | INC = -I./ -I../src |
---|
9 | |
---|
10 | MAIN = ../osm2pgsql.cpp |
---|
11 | |
---|
12 | all: |
---|
13 | $(CC) -c $(SRC) $(INC) -ggdb3 -DRESTRICT |
---|
14 | $(CC) -c $(DEPS) $(INC) -ggdb3 |
---|
15 | $(CC) -o main $(MAIN) *.o $(INC) -lexpat -ggdb3 -lpq |
---|
16 | clean: |
---|
17 | rm *.o main |
---|
18 | |
---|