summaryrefslogtreecommitdiff
path: root/src/tool/Makefile
blob: 286b839f3a03cd1cbfad08dce10ad224c1aac408 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
all: adduser convert mapcache

adduser:
	$(CC) -o ../../tools/$@ adduser.c

convert:
	$(CC) -o ../../tools/$@ convert.c

mapcache:
	$(MAKE) -C ../zlib
	$(CC) -c -o grfio.o grfio.c
	$(CC) -o ../../$@ mapcache.c grfio.o ../zlib/unz.o -lz

clean:
	rm -rf *.o ../../tools/adduser ../../tools/convert ../../mapcache