summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2014-02-20 22:42:56 +0100
committerDirk Engling <erdgeist@erdgeist.org>2014-02-20 22:42:56 +0100
commit046857dfb88f05e6b310fe9ef07b9f2d3ac5922d (patch)
tree9ce854f9572168c3ec1fe6751276430fa4a79cd9 /src/Makefile
parent64c85dfc1d3b546dd4b5f84168e9256817f3a741 (diff)
Restructure project, make names more clear
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)