diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2014-02-20 22:42:56 +0100 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2014-02-20 22:42:56 +0100 |
commit | 046857dfb88f05e6b310fe9ef07b9f2d3ac5922d (patch) | |
tree | 9ce854f9572168c3ec1fe6751276430fa4a79cd9 /src/Makefile | |
parent | 64c85dfc1d3b546dd4b5f84168e9256817f3a741 (diff) |
Restructure project, make names more clear
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 25 |
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 @@ | |||
1 | all: decompress extractblocks mapcoords convertcoords splitold | 1 | BINARIES=../bin/extract_version_2 ../bin/extract_version_3 ../bin/split_version_2 ../bin/map_coords ../bin/convert_coords |
2 | binaries: $(BINARIES) | ||
2 | 3 | ||
3 | decompress: 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 | ||
6 | extractblocks: 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 | ||
9 | mapcoords: 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 | ||
12 | splitold: 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 | ||
15 | convertcoords: 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 | ||
18 | clean: | 19 | clean: |
19 | @rm -f ../bin/{decompress,extractblocks,mapcoords,convertcoords,splitold} | 20 | @rm -f $(BINARIES) |