summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 9699e4c42430db4eb00a1bc040e004edd57f9e35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all: decompress extractblocks mapcoords convertcoords

decompress: decompress.c mystdlib.c
	@$(CC) -O2 -o ../bin/decompress decompress.c mystdlib.c -lz

extractblocks: extractblocks_new.c mystdlib.c
	@$(CC) -o ../bin/extractblocks extractblocks_new.c mystdlib.c

mapcoords: mapcoords.c mystdlib.c
	@$(CC) -o ../bin/mapcoords mapcoords.c mystdlib.c

convertcoords: convertcoords.c
	@$(CC) -o ../bin/convertcoords convertcoords.c

clean:
	@rm -f ../bin/{decompress,extractblocks,mapcoords,convertcoords}