summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 786a962cbd95c210f87d7b951c20d43f6696bdbe (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 -lm

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