diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2014-02-21 01:07:51 +0100 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2014-02-21 01:07:51 +0100 |
commit | d649292d1fd9c9ea89a922fdbcdcd2464e900350 (patch) | |
tree | e8abc78d7aeb9ebce0d6b3fb06839b87bbfeff6e /src | |
parent | 046857dfb88f05e6b310fe9ef07b9f2d3ac5922d (diff) |
Use full optimization, dont compile mystlib with tools that dont need it
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile index 21370a6..bd2bc0e 100644 --- a/src/Makefile +++ b/src/Makefile | |||
@@ -5,16 +5,16 @@ binaries: $(BINARIES) | |||
5 | @$(CC) -O2 -o ../bin/extract_version_3 export/extract_version_3.c export/mystdlib.c -lz -I export | 5 | @$(CC) -O2 -o ../bin/extract_version_3 export/extract_version_3.c export/mystdlib.c -lz -I export |
6 | 6 | ||
7 | ../bin/extract_version_2: export/extract_version_2.c export/mystdlib.c | 7 | ../bin/extract_version_2: export/extract_version_2.c export/mystdlib.c |
8 | @$(CC) -O2 -o ../bin/extract_version_2 export/extract_version_2.c export/mystdlib.c -I export | 8 | @$(CC) -O3 -o ../bin/extract_version_2 export/extract_version_2.c export/mystdlib.c -I export |
9 | 9 | ||
10 | ../bin/split_version_2: export/split_version_2.c export/mystdlib.c | 10 | ../bin/split_version_2: export/split_version_2.c |
11 | @$(CC) -o ../bin/split_version_2 export/split_version_2.c export/mystdlib.c -I export | 11 | @$(CC) -O3 -o ../bin/split_version_2 export/split_version_2.c |
12 | 12 | ||
13 | ../bin/map_coords: export/map_coords.c export/mystdlib.c | 13 | ../bin/map_coords: export/map_coords.c export/mystdlib.c |
14 | @$(CC) -o ../bin/map_coords export/map_coords.c export/mystdlib.c -I export | 14 | @$(CC) -O3 -o ../bin/map_coords export/map_coords.c export/mystdlib.c -I export |
15 | 15 | ||
16 | ../bin/convert_coords: export/convert_coords.c | 16 | ../bin/convert_coords: export/convert_coords.c |
17 | @$(CC) -o ../bin/convert_coords export/convert_coords.c -lm | 17 | @$(CC) -O3 -o ../bin/convert_coords export/convert_coords.c -lm |
18 | 18 | ||
19 | clean: | 19 | clean: |
20 | @rm -f $(BINARIES) | 20 | @rm -f $(BINARIES) |