summaryrefslogtreecommitdiff
path: root/tools/jsonproc/Makefile
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-07-11 21:16:23 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-07-11 21:16:23 -0400
commit250a331df9dbd312d572aaf0d629503417cfc9d4 (patch)
tree34f31dba3c816e5c308d1baf336fe4541a208d79 /tools/jsonproc/Makefile
parent97ab00ba2189c4d8b483ddcad3fc7cf97386122b (diff)
Track tools srcs
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 0000000..b415e7b
--- /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