source: subversion/utils/osm2pgsql/Makefile @ 2285

Last change on this file since 2285 was 2243, checked in by artem, 13 years ago

use geos-config to setup compile flags

File size: 379 bytes
Line 
1CFLAGS += -g
2CFLAGS += -O2 -Wall
3CFLAGS += $(shell xml2-config --cflags)
4CFLAGS += $(shell geos-config --cflags)
5CXXFLAGS += -g -O2 -Wall -DGEOS_INLINE
6LDFLAGS += $(shell xml2-config --libs) 
7LDFLAGS += $(shell geos-config --libs) 
8
9APPS:=osm2pgsql
10
11.PHONY: all clean
12
13all: $(APPS)
14
15clean: 
16        rm -f  $(APPS) osm2pgsql.o build_geometry.o
17
18osm2pgsql: osm2pgsql.o build_geometry.o
Note: See TracBrowser for help on using the repository browser.