diff options
Diffstat (limited to 'tools/jsonproc/Makefile')
-rw-r--r-- | tools/jsonproc/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/jsonproc/Makefile b/tools/jsonproc/Makefile new file mode 100644 index 0000000..721da10 --- /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 |