diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2019-03-07 16:29:02 +0100 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2019-03-07 16:29:02 +0100 |
| commit | 39ad0db84adecfeb8ec2e2c7628b9d55a3fe0894 (patch) | |
| tree | 3c1b19d3b85ccda5c17242f054fd8e3ea092cfc6 /Makefile | |
| parent | 072d7dc38ebf8ac7e9b35afec8692a71dd7cdfbe (diff) | |
Build all postprocess tools with make
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | BINARIES=bin/extract_version_1 bin/extract_version_2 bin/extract_version_3 bin/extract_version_4 bin/split_version_2 bin/split_version_3 bin/map_coords bin/map_branches_v3 bin/map_branches_v4 bin/convert_coords bin/join | 1 | BINARIES=bin/extract_version_1 bin/extract_version_2 bin/extract_version_3 bin/extract_version_4 bin/split_version_2 bin/split_version_3 bin/map_coords bin/map_branches_v3 bin/map_branches_v4 bin/convert_coords bin/merge_entries bin/sort_plz # bin/join |
| 2 | CFLAGS += -W -Wall -Wextra -O3 # -Weverything -Wno-cast-align -Wno-padded | 2 | CFLAGS += -W -Wall -Wextra -O3 -I src/export # -Weverything -Wno-cast-align -Wno-padded |
| 3 | 3 | ||
| 4 | all: $(BINARIES) | 4 | all: $(BINARIES) |
| 5 | 5 | ||
| @@ -33,8 +33,14 @@ bin/map_branches_v3: src/export/map_branches_v3.c | |||
| 33 | bin/convert_coords: src/export/convert_coords.c | 33 | bin/convert_coords: src/export/convert_coords.c |
| 34 | $(CC) $(CFLAGS) -o $@ src/export/convert_coords.c -lm | 34 | $(CC) $(CFLAGS) -o $@ src/export/convert_coords.c -lm |
| 35 | 35 | ||
| 36 | bin/join: src/postprocess/join.c src/export/mystdlib.c | 36 | #bin/join: src/postprocess/join.c src/export/mystdlib.c |
| 37 | $(CC) $(CFLAGS) -o $@ src/postprocess/join.c src/export/mystdlib.c -Isrc/export | 37 | # $(CC) $(CFLAGS) -o $@ src/postprocess/join.c src/export/mystdlib.c -Isrc/export |
| 38 | |||
| 39 | bin/merge_entries: src/postprocess/merge_entries.c src/export/mystdlib.c src/postprocess/halfsiphash.c | ||
| 40 | $(CC) $(CFLAGS) -o $@ src/postprocess/merge_entries.c src/export/mystdlib.c src/postprocess/halfsiphash.c | ||
| 41 | |||
| 42 | bin/sort_plz: src/postprocess/sort_plz.c | ||
| 43 | $(CC) $(CFLAGS) -o $@ src/postprocess/sort_plz.c | ||
| 38 | 44 | ||
| 39 | .PHONY: clean | 45 | .PHONY: clean |
| 40 | clean: | 46 | clean: |
