diff options
| author | ruki <[email protected]> | 2021-09-18 00:44:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-18 00:44:52 +0800 |
| commit | b58700f83ee4e40582b03f5fdfe337788b9f2c6f (patch) | |
| tree | 2c0fd405e959913d53436299f509e8c05cda57b5 /makefile | |
| parent | 4d8c00eecd99b0f65f40befd36bb2945df9996a7 (diff) | |
update makefile
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -15,6 +15,11 @@ prefix :=$(PREFIX) endif endif +# use luajit or lua backend +ifeq ($(BACKEND),) +BACKEND :=luajit +endif + # the temporary directory ifeq ($(TMPDIR),) TMP_DIR :=$(if $(TMP_DIR),$(TMP_DIR),/tmp) @@ -94,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) + +@$(MAKE) -C core --no-print-directory f DEBUG=$(debug) BACKEND=$(BACKEND) +@$(MAKE) -C core --no-print-directory c +@$(MAKE) -C core --no-print-directory |
