diff options
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 8c47a16b..79340a96 100644 --- a/src/Makefile +++ b/src/Makefile | |||
| @@ -475,7 +475,11 @@ DASM_FLAGS= $(DASM_XFLAGS) $(DASM_AFLAGS) | |||
| 475 | DASM_DASC= vm_$(DASM_ARCH).dasc | 475 | DASM_DASC= vm_$(DASM_ARCH).dasc |
| 476 | 476 | ||
| 477 | GIT= git | 477 | GIT= git |
| 478 | GIT_RELVER= [ -e ../.git ] && $(GIT) show -s --format=%ct >luajit_relver.txt 2>/dev/null || cat ../.relver >luajit_relver.txt 2>/dev/null || : | 478 | ifeq (Windows,$(HOST_SYS)$(HOST_MSYS)) |
| 479 | GIT_RELVER= if exist ..\.git ( $(GIT) show -s --format=%%ct >luajit_relver.txt ) else ( type ..\.relver >luajit_relver.txt ) | ||
| 480 | else | ||
| 481 | GIT_RELVER= [ -e ../.git ] && $(GIT) show -s --format=%ct >luajit_relver.txt 2>/dev/null || cat ../.relver >luajit_relver.txt 2>/dev/null || : | ||
| 482 | endif | ||
| 479 | GIT_DEP= $(wildcard ../.git/HEAD ../.git/refs/heads/*) | 483 | GIT_DEP= $(wildcard ../.git/HEAD ../.git/refs/heads/*) |
| 480 | 484 | ||
| 481 | BUILDVM_O= host/buildvm.o host/buildvm_asm.o host/buildvm_peobj.o \ | 485 | BUILDVM_O= host/buildvm.o host/buildvm_asm.o host/buildvm_peobj.o \ |
