summaryrefslogtreecommitdiff
path: root/tools/jsonproc/Makefile
diff options
context:
space:
mode:
authorSwastik Baranwal <swstkbaranwal@gmail.com>2019-06-23 18:47:35 +0530
committerGitHub <noreply@github.com>2019-06-23 18:47:35 +0530
commit99703c6ab831d34e6859d8a8f53ba8e73dc4d3d9 (patch)
tree3a712d3039d152616af58a45a13d82c40a87e58f /tools/jsonproc/Makefile
parent6d190f861e3559eec922cd760778c0cba6e08397 (diff)
parent9ee0c34758a63f8c00724b6fc984b4e96be2f7af (diff)
Merge pull request #5 from pret/master
Take files
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