summaryrefslogtreecommitdiff
path: root/tools/mapjson/Makefile
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2019-02-04 21:36:18 -0600
committerGitHub <noreply@github.com>2019-02-04 21:36:18 -0600
commitb0ee1009759ed1c46da81b1fb8410e2b75e42bb2 (patch)
treeceee3e124b987b8dd24cb3a7bba85d4effe1ef5d /tools/mapjson/Makefile
parent646533cfa3c8c42aee3efedaadfe49e495b64892 (diff)
parentd4125fef9bc9adb95c7a5fb5b8be903b34adc510 (diff)
Merge pull request #543 from pret/mapdata
Convert map data to JSON
Diffstat (limited to 'tools/mapjson/Makefile')
-rw-r--r--tools/mapjson/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/mapjson/Makefile b/tools/mapjson/Makefile
new file mode 100644
index 000000000..d09acad50
--- /dev/null
+++ b/tools/mapjson/Makefile
@@ -0,0 +1,15 @@
+CXX := g++
+
+CXXFLAGS := -Wall -std=c++11 -O2
+
+SRCS := json11.cpp mapjson.cpp
+
+HEADERS := mapjson.h
+
+.PHONY: clean
+
+mapjson: $(SRCS) $(HEADERS)
+ $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS)
+
+clean:
+ $(RM) mapjson mapjson.exe