diff options
| author | ruki <[email protected]> | 2020-02-11 23:06:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-11 12:36:24 +0800 |
| commit | 94c19e101325c6a6a63a281ae6f6fee1ed230298 (patch) | |
| tree | 8563d7d0184cba06f2ab233eccf43ed7428ab1f5 /core/src/luajit/makefile | |
| parent | a0ff9f3cf3e5a425e8f7b4313e8b42a08effda42 (diff) | |
add msys and cygwin makefile
Diffstat (limited to 'core/src/luajit/makefile')
| -rw-r--r-- | core/src/luajit/makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/core/src/luajit/makefile b/core/src/luajit/makefile index d6dbcfa27..e83a710fd 100644 --- a/core/src/luajit/makefile +++ b/core/src/luajit/makefile @@ -79,18 +79,24 @@ luajit_C_FILES += \ luajit/src/lj_profile # asm files +iswin = ifeq ($(PLAT),windows) -luajit_OBJ_FILES += \ - autogen/$(PLAT)/$(luajit_JIT)/$(ARCH)/lj_vm -else -ifeq ($(PLAT),mingw) + iswin = yes +endif +ifeq ($(PLAT),msys) + iswin = yes +endif +ifeq ($(PLAT),cygwin) + iswin = yes +endif + +ifdef iswin luajit_OBJ_FILES += \ autogen/$(PLAT)/$(luajit_JIT)/$(ARCH)/lj_vm else luajit_ASM_FILES += \ autogen/$(PLAT)/$(luajit_JIT)/$(ARCH)/lj_vm endif -endif # includes luajit_INC_DIRS += \ |
