summaryrefslogtreecommitdiff
path: root/tools/mapjson/Makefile
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2019-04-09 10:04:41 -0400
committerscnorton <scnorton@biociphers.org>2019-04-09 10:04:41 -0400
commit7f920b887f9a060524347b4cc3a5e3f3abdd3b03 (patch)
tree18e348b765119854e16486575dec5df0347b412e /tools/mapjson/Makefile
parentd0a68de6e0606617027ab0437f2da1a414deb2da (diff)
Add mapjson; update gbagfx, scaninc
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