From 483648e372eb468909c79e2e1acd4949a8984acc Mon Sep 17 00:00:00 2001 From: Marcus Huderle Date: Sat, 27 Apr 2019 14:50:53 -0500 Subject: Create jsonproc tool Add custom function hooks to jsonproc Add jsonproc to build_tools.sh Newer g++ --- tools/jsonproc/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 tools/jsonproc/Makefile (limited to 'tools/jsonproc/Makefile') diff --git a/tools/jsonproc/Makefile b/tools/jsonproc/Makefile new file mode 100755 index 000000000..69093a216 --- /dev/null +++ b/tools/jsonproc/Makefile @@ -0,0 +1,17 @@ +CXX := g++ + +CXXFLAGS := -Wall -std=c++11 -O2 + +INCLUDES := -I . + +SRCS := jsonproc.cpp + +HEADERS := jsonproc.h inja.hpp nlohmann/json.hpp + +.PHONY: clean + +jsonproc: $(SRCS) $(HEADERS) + $(CXX) $(CXXFLAGS) $(INCLUDES) $(SRCS) -o $@ $(LDFLAGS) + +clean: + $(RM) jsonproc jsonproc.exe -- cgit v1.2.3 From 6ff1426abed52c9642a6ccd5a6eda7210d0637e7 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Tue, 23 Jul 2019 16:17:00 -0400 Subject: Quieter "make tools" --- tools/jsonproc/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/jsonproc/Makefile') diff --git a/tools/jsonproc/Makefile b/tools/jsonproc/Makefile index 69093a216..721da1025 100755 --- a/tools/jsonproc/Makefile +++ b/tools/jsonproc/Makefile @@ -8,7 +8,10 @@ SRCS := jsonproc.cpp HEADERS := jsonproc.h inja.hpp nlohmann/json.hpp -.PHONY: clean +.PHONY: all clean + +all: jsonproc + @: jsonproc: $(SRCS) $(HEADERS) $(CXX) $(CXXFLAGS) $(INCLUDES) $(SRCS) -o $@ $(LDFLAGS) -- cgit v1.2.3