Add msys2 and Cygwin instructions, also add .exe extension to built tools.

Todo: actually extensively test out msys2 and Cygwin, and double check the readme.
This commit is contained in:
luckytyphlosion
2020-11-26 20:21:16 -05:00
parent 59a6d18679
commit 976b967732
13 changed files with 213 additions and 36 deletions
+8 -2
View File
@@ -8,12 +8,18 @@ SRCS := jsonproc.cpp
HEADERS := jsonproc.h inja.hpp nlohmann/json.hpp
ifeq ($(OS),Windows_NT)
EXE := .exe
else
EXE :=
endif
.PHONY: all clean
all: jsonproc
all: jsonproc$(EXE)
@:
jsonproc: $(SRCS) $(HEADERS)
jsonproc$(EXE): $(SRCS) $(HEADERS)
$(CXX) $(CXXFLAGS) $(INCLUDES) $(SRCS) -o $@ $(LDFLAGS)
clean: