summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/Makefile b/src/Makefile
index 1a09455..21370a6 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,19 +1,20 @@
1all: decompress extractblocks mapcoords convertcoords splitold 1BINARIES=../bin/extract_version_2 ../bin/extract_version_3 ../bin/split_version_2 ../bin/map_coords ../bin/convert_coords
2binaries: $(BINARIES)
2 3
3decompress: decompress.c mystdlib.c 4../bin/extract_version_3: export/extract_version_3.c export/mystdlib.c
4 @$(CC) -O2 -o ../bin/decompress decompress.c mystdlib.c -lz 5 @$(CC) -O2 -o ../bin/extract_version_3 export/extract_version_3.c export/mystdlib.c -lz -I export
5 6
6extractblocks: extractblocks_new.c mystdlib.c 7../bin/extract_version_2: export/extract_version_2.c export/mystdlib.c
7 @$(CC) -o ../bin/extractblocks extractblocks_new.c mystdlib.c 8 @$(CC) -O2 -o ../bin/extract_version_2 export/extract_version_2.c export/mystdlib.c -I export
8 9
9mapcoords: mapcoords.c mystdlib.c 10../bin/split_version_2: export/split_version_2.c export/mystdlib.c
10 @$(CC) -o ../bin/mapcoords mapcoords.c mystdlib.c 11 @$(CC) -o ../bin/split_version_2 export/split_version_2.c export/mystdlib.c -I export
11 12
12splitold: splitold.c mystdlib.c 13../bin/map_coords: export/map_coords.c export/mystdlib.c
13 @$(CC) -o ../bin/splitold splitold.c mystdlib.c 14 @$(CC) -o ../bin/map_coords export/map_coords.c export/mystdlib.c -I export
14 15
15convertcoords: convertcoords.c 16../bin/convert_coords: export/convert_coords.c
16 @$(CC) -o ../bin/convertcoords convertcoords.c -lm 17 @$(CC) -o ../bin/convert_coords export/convert_coords.c -lm
17 18
18clean: 19clean:
19 @rm -f ../bin/{decompress,extractblocks,mapcoords,convertcoords,splitold} 20 @rm -f $(BINARIES)