source: subversion/applications/utils/import/and2osm/Makefile @ 4349

Last change on this file since 4349 was 4345, checked in by martinvoosterhout, 13 years ago

Because the AND data does not include information on all nodes, I wrote a
program attempt to determine the nodeIDs from the data we have. It works for
around 80% of the nodes (some 680k+). This is the mknodedb program. Also
teach 2AND to use it if it is there.

File size: 460 bytes
1#LINKOPT        =       /usr/local/lib/libdbmalloc.a
2LINKOPT = -lshp
3CFLAGS  = -g -O2 -Wall
5all:    2AND mknodedb
7# Use linking of pthread is that TCmalloc can be used, which makes it runnable on machines <1GB
82AND:   2AND.o osm.o tags.o rb.o segments.o nodes.o ways.o
9        $(CC) $(CFLAGS) 2AND.c osm.o tags.o rb.o segments.o nodes.o ways.o $(LINKOPT) -lpthread -o 2AND
12        rm -f *.o 2AND
14mknodedb: mknodedb.o rb.o
15        $(CC) $(CFLAGS) mknodedb.o rb.o $(LINKOPT) -lpthread -o $@
Note: See TracBrowser for help on using the repository browser.