diff options
Diffstat (limited to 'tools/dungeonjson/Makefile')
-rw-r--r-- | tools/dungeonjson/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/dungeonjson/Makefile b/tools/dungeonjson/Makefile new file mode 100644 index 0000000..f5719bf --- /dev/null +++ b/tools/dungeonjson/Makefile @@ -0,0 +1,18 @@ +CXX ?= g++ + +CXXFLAGS := -Wall -std=c++11 -O2 + +SRCS := json11.cpp dungeonjson.cpp + +HEADERS := dungeonjson.h + +.PHONY: all clean + +all: dungeonjson + @: + +dungeonjson: $(SRCS) $(HEADERS) + $(CXX) $(CXXFLAGS) $(SRCS) -o $@ $(LDFLAGS) + +clean: + $(RM) dungeonjson dungeonjson.exe |