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

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

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

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

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