From 3e27227b83c2c602237f016f04f2c5fa1e31de87 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Mon, 29 Jul 2019 09:01:55 -0400 Subject: Add sources and compilation guide --- tools/mapjson/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tools/mapjson/Makefile (limited to 'tools/mapjson/Makefile') diff --git a/tools/mapjson/Makefile b/tools/mapjson/Makefile new file mode 100644 index 0000000..9a49be5 --- /dev/null +++ b/tools/mapjson/Makefile @@ -0,0 +1,18 @@ +CXX := g++ + +CXXFLAGS := -Wall -std=c++11 -O2 + +SRCS := json11.cpp mapjson.cpp + +HEADERS := mapjson.h + +.PHONY: all clean + +all: mapjson + @: + +mapjson: $(SRCS) $(HEADERS) + $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS) + +clean: + $(RM) mapjson mapjson.exe -- cgit v1.2.3