diff options
-rw-r--r-- | src/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 29c01747..dad90138 100644 --- a/src/Makefile +++ b/src/Makefile | |||
@@ -446,7 +446,11 @@ DASM_FLAGS= $(DASM_XFLAGS) $(DASM_AFLAGS) | |||
446 | DASM_DASC= vm_$(DASM_ARCH).dasc | 446 | DASM_DASC= vm_$(DASM_ARCH).dasc |
447 | 447 | ||
448 | GIT= git | 448 | GIT= git |
449 | GIT_RELVER= [ -e ../.git ] && $(GIT) show -s --format=%ct >luajit_relver.txt 2>/dev/null || cat ../.relver >luajit_relver.txt 2>/dev/null || : | 449 | ifeq (Windows,$(HOST_SYS)$(HOST_MSYS)) |
450 | GIT_RELVER= if exist ..\.git ( $(GIT) show -s --format=%%ct >luajit_relver.txt ) else ( type ..\.relver >luajit_relver.txt ) | ||
451 | else | ||
452 | GIT_RELVER= [ -e ../.git ] && $(GIT) show -s --format=%ct >luajit_relver.txt 2>/dev/null || cat ../.relver >luajit_relver.txt 2>/dev/null || : | ||
453 | endif | ||
450 | GIT_DEP= $(wildcard ../.git/HEAD ../.git/refs/heads/*) | 454 | GIT_DEP= $(wildcard ../.git/HEAD ../.git/refs/heads/*) |
451 | 455 | ||
452 | BUILDVM_O= host/buildvm.o host/buildvm_asm.o host/buildvm_peobj.o \ | 456 | BUILDVM_O= host/buildvm.o host/buildvm_asm.o host/buildvm_peobj.o \ |