From 02f4d3e4200292d484f81f2563d48d7a1ccdf4bb Mon Sep 17 00:00:00 2001 From: garak Date: Tue, 30 Jul 2019 16:20:20 -0400 Subject: add jsonproc tool --- 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 c33effb95c398eaf52a928a9ded51cc5e7e8f1e1 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Thu, 5 Sep 2019 16:03:17 -0400 Subject: Configure Travis to build nonmatching (#746) * Configure Travis to build nonmatching --- 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..bddf59683 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: clean all + +all: jsonproc + @: jsonproc: $(SRCS) $(HEADERS) $(CXX) $(CXXFLAGS) $(INCLUDES) $(SRCS) -o $@ $(LDFLAGS) -- cgit v1.2.3