summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-26 00:33:28 +0800
committerruki <[email protected]>2020-02-25 21:20:48 +0800
commit9821f0b22c0a6f57ccbe294db2fb779400b894df (patch)
tree763501f9b61d3f6ce326570148cde5d970b219b0
parentdf21347f6e91d956b2b9d93060158de9d8213821 (diff)
improve makefile
-rw-r--r--makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/makefile b/makefile
index 044957cba..17fe94ee7 100644
--- a/makefile
+++ b/makefile
@@ -81,8 +81,9 @@ xmake_dir_install2 :=$(prefix)/share/xmake
xmake_core :=./core/src/demo/demo.b
ifdef iswin
# we need load msys-2.0.dll or cygwin1.dll on bin directory
-xmake_core_install :=$(destdir)/bin/xmake.exe
-xmake_core_install2 :=$(prefix)/bin/xmake.exe
+# and we use the xmake_core.exe, because xmake script and exe are in same directory
+xmake_core_install :=$(destdir)/bin/xmake_core.exe
+xmake_core_install2 :=$(prefix)/bin/xmake_core.exe
else
xmake_core_install :=$(xmake_dir_install)/xmake
xmake_core_install2 :=$(xmake_dir_install2)/xmake