summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-20 21:07:59 +0800
committerruki <[email protected]>2021-09-20 21:07:59 +0800
commitd6cf1e9c4b73507fb2bcfa0d173ebb62a28faa64 (patch)
tree7a613832c29ba48e8157ed199eddbda3f6daeaa8 /makefile
parent8a177cf0047b61c1fc5085138b7d268e500fe909 (diff)
rename BACKEND to RUNTIME
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile b/makefile
index c22bc30cb..bdb79d05b 100644
--- a/makefile
+++ b/makefile
@@ -16,8 +16,8 @@ endif
endif
# use luajit or lua backend
-ifeq ($(BACKEND),)
-BACKEND :=luajit
+ifeq ($(RUNTIME),)
+RUNTIME :=luajit
endif
# the temporary directory
@@ -99,7 +99,7 @@ xrepo_bin_install :=$(destdir)/bin/xrepo
build:
@echo compiling xmake-core ...
@if [ -f core/.config.mak ]; then rm core/.config.mak; fi
- +@$(MAKE) -C core --no-print-directory f DEBUG=$(debug) BACKEND=$(BACKEND)
+ +@$(MAKE) -C core --no-print-directory f DEBUG=$(debug) RUNTIME=$(RUNTIME)
+@$(MAKE) -C core --no-print-directory c
+@$(MAKE) -C core --no-print-directory