summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2014-02-24 02:12:22 +0100
committerDirk Engling <erdgeist@erdgeist.org>2014-02-24 02:12:22 +0100
commit8d11183e27f116057bed713c8f0d224af6427302 (patch)
tree957c7cf07c831b71282669729746a04f556636c1 /src/Makefile
parent10d7fe4252cf795c72e0d718db3f0836afa4888f (diff)
Enable extra warnings
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile
index c36fa56..6d40c6b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,23 +1,24 @@
1BINARIES=../bin/extract_version_1 ../bin/extract_version_2 ../bin/extract_version_3 ../bin/split_version_2 ../bin/map_coords ../bin/convert_coords 1BINARIES=../bin/extract_version_1 ../bin/extract_version_2 ../bin/extract_version_3 ../bin/split_version_2 ../bin/map_coords ../bin/convert_coords
2binaries: $(BINARIES) 2binaries: $(BINARIES)
3CFLAGS+=-Wextra
3 4
4../bin/extract_version_3: export/extract_version_3.c export/mystdlib.c 5../bin/extract_version_3: export/extract_version_3.c export/mystdlib.c
5 @$(CC) -O2 -o ../bin/extract_version_3 export/extract_version_3.c export/mystdlib.c -lz -I export 6 @$(CC) $(CFLAGS) -O2 -o ../bin/extract_version_3 export/extract_version_3.c export/mystdlib.c -lz -I export
6 7
7../bin/extract_version_2: export/extract_version_2.c export/mystdlib.c 8../bin/extract_version_2: export/extract_version_2.c export/mystdlib.c
8 @$(CC) -O3 -o ../bin/extract_version_2 export/extract_version_2.c export/mystdlib.c -I export 9 @$(CC) $(CFLAGS) -O3 -o ../bin/extract_version_2 export/extract_version_2.c export/mystdlib.c -I export
9 10
10../bin/extract_version_1: export/extract_version_1.c export/mystdlib.c 11../bin/extract_version_1: export/extract_version_1.c export/mystdlib.c
11 @$(CC) -O3 -o ../bin/extract_version_1 export/extract_version_1.c export/mystdlib.c -I export 12 @$(CC) $(CFLAGS) -O3 -o ../bin/extract_version_1 export/extract_version_1.c export/mystdlib.c -I export
12 13
13../bin/split_version_2: export/split_version_2.c 14../bin/split_version_2: export/split_version_2.c
14 @$(CC) -O3 -o ../bin/split_version_2 export/split_version_2.c 15 @$(CC) $(CFLAGS) -O3 -o ../bin/split_version_2 export/split_version_2.c
15 16
16../bin/map_coords: export/map_coords.c export/mystdlib.c 17../bin/map_coords: export/map_coords.c export/mystdlib.c
17 @$(CC) -O3 -o ../bin/map_coords export/map_coords.c export/mystdlib.c -I export 18 @$(CC) $(CFLAGS) -O3 -o ../bin/map_coords export/map_coords.c export/mystdlib.c -I export
18 19
19../bin/convert_coords: export/convert_coords.c 20../bin/convert_coords: export/convert_coords.c
20 @$(CC) -O3 -o ../bin/convert_coords export/convert_coords.c -lm 21 @$(CC) $(CFLAGS) -O3 -o ../bin/convert_coords export/convert_coords.c -lm
21 22
22clean: 23clean:
23 @rm -f $(BINARIES) 24 @rm -f $(BINARIES)