summaryrefslogtreecommitdiff
path: root/tools/jsonproc/Makefile
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-08-04 15:35:35 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-08-04 15:35:35 -0400
commitcd876292d126c339bfc31c717d5bec6fe1b63f80 (patch)
treee7e3666bc80640d9b946f79c07e8d0858600598b /tools/jsonproc/Makefile
parenta08cbaee0a5f06f2e6d11ceb958e36430175f220 (diff)
parentfa5bfc16279fe6c8c38392612796448495da896f (diff)
Merge branch 'master' into pokenav_unk_2
Diffstat (limited to 'tools/jsonproc/Makefile')
-rwxr-xr-xtools/jsonproc/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/jsonproc/Makefile b/tools/jsonproc/Makefile
new file mode 100755
index 000000000..721da1025
--- /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