summaryrefslogtreecommitdiff
path: root/tools/jsonproc/Makefile
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-06-21 13:12:56 -0400
committerGitHub <noreply@github.com>2019-06-21 13:12:56 -0400
commit010db05e735e0ac11efcf0d800205324cc0f2be9 (patch)
tree9109eaf029ee3253a554e50df5584d540ff243f8 /tools/jsonproc/Makefile
parentcaa193364bf786cb567ed16eb4670ed2cc4cb362 (diff)
parent3444ac708a0dfc9e99c34a3c19159e786d8ab9f1 (diff)
Merge pull request #71 from pret/item_use
item_use and item
Diffstat (limited to 'tools/jsonproc/Makefile')
-rw-r--r--tools/jsonproc/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/jsonproc/Makefile b/tools/jsonproc/Makefile
new file mode 100644
index 000000000..b415e7b41
--- /dev/null
+++ b/tools/jsonproc/Makefile
@@ -0,0 +1,20 @@
+CXX := g++
+
+CXXFLAGS := -Wall -std=c++11 -O2
+
+INCLUDES := -I .
+
+SRCS := jsonproc.cpp
+
+HEADERS := jsonproc.h inja.hpp nlohmann/json.hpp
+
+.PHONY: clean
+
+all: jsonproc
+ @:
+
+jsonproc: $(SRCS) $(HEADERS)
+ $(CXX) $(CXXFLAGS) $(INCLUDES) $(SRCS) -o $@ $(LDFLAGS)
+
+clean:
+ $(RM) jsonproc jsonproc.exe