summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-04-08 20:42:28 +0800
committerruki <[email protected]>2017-04-08 20:43:39 +0800
commit8d6f42c1935eac5bb89151ed609abee895b77084 (patch)
tree405f85cee552d7633fbe2ff8f4b9ff7d76f7d70b
parenta8109831ee00f5a2b90fdc9dd609c55c9f365951 (diff)
fix make install problem
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0aad898bb..f50d094c9 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ ARCH :=$(if $(findstring android,$(PLAT)),armv7,$(ARCH))
endif
xmake_dir_install :=$(prefix)/share/xmake
-xmake_core :=./core/bin/demo.pkg/bin/$(PLAT)/$(ARCH)/demo.b
+xmake_core :=./core/src/demo/demo.b
xmake_core_install :=$(xmake_dir_install)/xmake
xmake_loader :=/tmp/xmake_loader
xmake_loader_install:=$(prefix)/bin/xmake
@@ -53,7 +53,6 @@ install:
@echo plat: $(PLAT)
@echo arch: $(ARCH)
@# create the xmake install directory
- @$(MAKE) -C core --no-print-directory i
@if [ -d $(xmake_dir_install) ]; then rm -rf $(xmake_dir_install); fi
@if [ ! -d $(xmake_dir_install) ]; then mkdir -p $(xmake_dir_install); fi
@# install the xmake core file