summaryrefslogtreecommitdiff
path: root/tools/jsonproc/Makefile
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-04-15 08:58:21 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-04-15 08:58:21 -0400
commita5332e2f9e029ca7c0003a5cd096af3c68ace5bb (patch)
treedf717f7c0590419d59e9dc246469dc6e5956b6e8 /tools/jsonproc/Makefile
parentf9b7d7411b74e29e048ea7d48cf6d8302e50d2d4 (diff)
Finish filling out header
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 00000000..721da102
--- /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: all clean
+
+all: jsonproc
+ @:
+
+jsonproc: $(SRCS) $(HEADERS)
+ $(CXX) $(CXXFLAGS) $(INCLUDES) $(SRCS) -o $@ $(LDFLAGS)
+
+clean:
+ $(RM) jsonproc jsonproc.exe