summaryrefslogtreecommitdiff
path: root/src/tool/Makefile
blob: 41560652502e0b8579179b3c6f0126a87d9d5a9d (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 ../../tools/adduser ../../tools/convert ../../mapcache