Index: Makefile
===================================================================
--- Makefile	(revision 2135)
+++ Makefile	(working copy)
@@ -1,7 +1,8 @@
 CXXFLAGS = -I/usr/local/include -I../../libs/libosm 
-LDFLAGS = -L/usr/local/lib ../../libs/libosm/libosm.a  -lexpat  -lshp
+OSMLIBS = ../../libs/libosm/libosm.a ../../libs/ccoord/libccoord.a
+LDFLAGS = -L/usr/local/lib $(OSMLIBS) -lexpat -lshp
 OBJ = wayclean.o
 CXX = g++
 
-wayclean: $(OBJ)  ../../libs/libosm/libosm.a
+wayclean: $(OBJ) $(OSMLIBS)
 	$(CXX) -o wayclean $(OBJ) $(LDFLAGS)
