diff options
| author | ruki <[email protected]> | 2020-02-13 23:45:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-13 16:33:10 +0800 |
| commit | 293d5e669f6350585e666ab60035aca49803985c (patch) | |
| tree | 9e538a79ae198c1b2fb30636b42c86501cbfd62d /makefile | |
| parent | b9879d5e6fadc016586dacb2535e5172bb476a06 (diff) | |
add lj_vm.o for msys/cygwin
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -63,9 +63,25 @@ endif # to match a directory for a platform dependent implementation. ARCH :=$(if $(findstring amd64,$(ARCH)),x86_64,$(ARCH)) +# is windows? +iswin = +ifeq ($(PLAT),windows) + iswin = yes +endif +ifeq ($(PLAT),msys) + iswin = yes +endif +ifeq ($(PLAT),cygwin) + iswin = yes +endif + xmake_dir_install :=$(prefix)/share/xmake xmake_core :=./core/src/demo/demo.b +ifdef iswin +xmake_core_install :=$(xmake_dir_install)/xmake.exe +else xmake_core_install :=$(xmake_dir_install)/xmake +endif xmake_loader :=$(TMP_DIR)/xmake_loader xmake_loader_install:=$(prefix)/bin/xmake |
