diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,19 +1,19 @@ | |||
1 | BINARIES=bin/extract_version_1 bin/extract_version_2 bin/extract_version_3 bin/split_version_2 bin/map_coords bin/convert_coords | 1 | BINARIES=bin/extract_version_1 bin/extract_version_3 bin/extract_version_4 bin/split_version_3 bin/map_coords bin/convert_coords |
2 | CFLAGS += -W -Wall -Wextra -O3 # -Weverything -Wno-cast-align -Wno-padded | 2 | CFLAGS += -W -Wall -Wextra -O3 # -Weverything -Wno-cast-align -Wno-padded |
3 | 3 | ||
4 | all: $(BINARIES) | 4 | all: $(BINARIES) |
5 | 5 | ||
6 | bin/extract_version_3: src/export/extract_version_3.c src/export/mystdlib.c | 6 | bin/extract_version_4: src/export/extract_version_4.c src/export/mystdlib.c |
7 | $(CC) $(CFLAGS) -o $@ src/export/extract_version_3.c src/export/mystdlib.c -lz | 7 | $(CC) $(CFLAGS) -o $@ src/export/extract_version_4.c src/export/mystdlib.c -lz |
8 | 8 | ||
9 | bin/extract_version_2: src/export/extract_version_2.c src/export/mystdlib.c | 9 | bin/extract_version_3: src/export/extract_version_3.c src/export/mystdlib.c |
10 | $(CC) $(CFLAGS) -o $@ src/export/extract_version_2.c src/export/mystdlib.c | 10 | $(CC) $(CFLAGS) -o $@ src/export/extract_version_3.c src/export/mystdlib.c |
11 | 11 | ||
12 | bin/extract_version_1: src/export/extract_version_1.c src/export/mystdlib.c | 12 | bin/extract_version_1: src/export/extract_version_1.c src/export/mystdlib.c |
13 | $(CC) $(CFLAGS) -o $@ src/export/extract_version_1.c src/export/mystdlib.c | 13 | $(CC) $(CFLAGS) -o $@ src/export/extract_version_1.c src/export/mystdlib.c |
14 | 14 | ||
15 | bin/split_version_2: src/export/split_version_2.c | 15 | bin/split_version_3: src/export/split_version_3.c |
16 | $(CC) $(CFLAGS) -o $@ src/export/split_version_2.c | 16 | $(CC) $(CFLAGS) -o $@ src/export/split_version_3.c |
17 | 17 | ||
18 | bin/map_coords: src/export/map_coords.c src/export/mystdlib.c | 18 | bin/map_coords: src/export/map_coords.c src/export/mystdlib.c |
19 | $(CC) $(CFLAGS) -o $@ src/export/map_coords.c src/export/mystdlib.c | 19 | $(CC) $(CFLAGS) -o $@ src/export/map_coords.c src/export/mystdlib.c |