diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2020-12-16 21:24:44 -0500 |
---|---|---|
committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2020-12-16 21:24:44 -0500 |
commit | 3d686116d8acb9f3daa1db9669de6eca11a861d5 (patch) | |
tree | 6b85da1107d36ec37c33bbca7fd55a97d071db67 /tools/jsonproc | |
parent | 5a5acfb0ada48c89d1e398dea3fd3ef701213b60 (diff) |
[Round 3] Apply all source related changes for the new INSTALL.md in one commit.
Diffstat (limited to 'tools/jsonproc')
-rwxr-xr-x | tools/jsonproc/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/jsonproc/Makefile b/tools/jsonproc/Makefile index 47198b171..eec73eb7b 100755 --- a/tools/jsonproc/Makefile +++ b/tools/jsonproc/Makefile @@ -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: |