summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2019-03-07 16:29:02 +0100
committerDirk Engling <erdgeist@erdgeist.org>2019-03-07 16:29:02 +0100
commit39ad0db84adecfeb8ec2e2c7628b9d55a3fe0894 (patch)
tree3c1b19d3b85ccda5c17242f054fd8e3ea092cfc6 /Makefile
parent072d7dc38ebf8ac7e9b35afec8692a71dd7cdfbe (diff)
Build all postprocess tools with make
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 691675e..836af77 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
1BINARIES=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 1BINARIES=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
2CFLAGS += -W -Wall -Wextra -O3 # -Weverything -Wno-cast-align -Wno-padded 2CFLAGS += -W -Wall -Wextra -O3 -I src/export # -Weverything -Wno-cast-align -Wno-padded
3 3
4all: $(BINARIES) 4all: $(BINARIES)
5 5
@@ -33,8 +33,14 @@ bin/map_branches_v3: src/export/map_branches_v3.c
33bin/convert_coords: src/export/convert_coords.c 33bin/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
36bin/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
39bin/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
42bin/sort_plz: src/postprocess/sort_plz.c
43 $(CC) $(CFLAGS) -o $@ src/postprocess/sort_plz.c
38 44
39.PHONY: clean 45.PHONY: clean
40clean: 46clean: