|
Revision 215, 508 bytes
(checked in by anton, 2 years ago)
|
|
osm2pgrouting: PostgreSQL include path fixed in Makefile
|
| Line | |
|---|
| 1 | CC = g++ |
|---|
| 2 | |
|---|
| 3 | SRC = 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 | |
|---|
| 5 | DEPS = src/XMLParser.cpp |
|---|
| 6 | |
|---|
| 7 | INC = -I./ -Isrc -I/usr/include/pgsql -I/usr/include/postgresql |
|---|
| 8 | |
|---|
| 9 | MAIN = src/osm2pgrouting.cpp |
|---|
| 10 | |
|---|
| 11 | all: |
|---|
| 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 |
|---|
| 16 | clean: |
|---|
| 17 | rm osm2pgrouting |
|---|
| 18 | |
|---|