X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/09ccace4506d91517ea7ba56171b27eef14e49fe..bdb169f7f68c32e28cfc32ba83f2d1ead6450a7e:/db/functions/Makefile diff --git a/db/functions/Makefile b/db/functions/Makefile index 2f2abe525..7652862fa 100644 --- a/db/functions/Makefile +++ b/db/functions/Makefile @@ -7,8 +7,11 @@ else LDFLAGS=-shared endif -libquadtile.so: quadtile.o - cc ${LDFLAGS} -o libquadtile.so quadtile.o +libmyosm.so: quadtile.o maptile.o + cc ${LDFLAGS} -o libmyosm.so quadtile.o maptile.o quadtile.o: quadtile.c ${QTDIR}/quad_tile.h cc `mysql_config --include` -I${QTDIR} -fPIC -O3 -c -o quadtile.o quadtile.c + +maptile.o: maptile.c + cc `mysql_config --include` -fPIC -O3 -c -o maptile.o maptile.c