]> git.openstreetmap.org Git - rails.git/blob - db/functions/Makefile
Adding new browse controller test, which is mostly stubs just now. Also adding the...
[rails.git] / db / functions / Makefile
1 QTDIR=../../lib/quad_tile
2
3 OS=$(shell uname -s)
4 ifeq (${OS},Darwin)
5     LDFLAGS=-bundle
6 else
7     LDFLAGS=-shared
8 endif
9
10 libmyosm.so: quadtile.o maptile.o
11         cc ${LDFLAGS} -o libmyosm.so quadtile.o maptile.o
12
13 quadtile.o: quadtile.c ${QTDIR}/quad_tile.h
14         cc `mysql_config --include` -I${QTDIR} -fPIC -O3 -c -o quadtile.o quadtile.c
15
16 maptile.o: maptile.c
17         cc `mysql_config --include` -fPIC -O3 -c -o maptile.o maptile.c