summaryrefslogtreecommitdiff
path: root/tools/jsonproc/Makefile
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-09-05 10:47:39 -0400
committerGitHub <noreply@github.com>2019-09-05 10:47:39 -0400
commit082093aa36ea82d7e7b8e6cf0c51aca17d73dd9b (patch)
tree8c160abe15cc2cd9040e99677d29e2bab05d116b /tools/jsonproc/Makefile
parentf89f80daec6d1e9ec85fdc898f1b7914a126612e (diff)
parentd4dc5c755a4c60d42c726c33c8fb77071052fe85 (diff)
Merge pull request #755 from garakmon/encounter_json
Wild Encounters to Json
Diffstat (limited to 'tools/jsonproc/Makefile')
-rwxr-xr-xtools/jsonproc/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/jsonproc/Makefile b/tools/jsonproc/Makefile
new file mode 100755
index 000000000..69093a216
--- /dev/null
+++ b/tools/jsonproc/Makefile
@@ -0,0 +1,17 @@
+CXX := g++
+
+CXXFLAGS := -Wall -std=c++11 -O2
+
+INCLUDES := -I .
+
+SRCS := jsonproc.cpp
+
+HEADERS := jsonproc.h inja.hpp nlohmann/json.hpp
+
+.PHONY: clean
+
+jsonproc: $(SRCS) $(HEADERS)
+ $(CXX) $(CXXFLAGS) $(INCLUDES) $(SRCS) -o $@ $(LDFLAGS)
+
+clean:
+ $(RM) jsonproc jsonproc.exe