aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-10-26 22:36:36 +0200
committerRiccardo Spagni <ric@spagni.net>2018-10-26 22:36:36 +0200
commite5f2d982e99c8371dc3787a21332e23064e0b776 (patch)
tree355c4f9aa51cef5d1ab962da5e164962e3413bb9 /Makefile
parentMerge pull request #4604 (diff)
parentAdd building with depends to the Makefile (diff)
downloadmonero-e5f2d982e99c8371dc3787a21332e23064e0b776.tar.xz
Merge pull request #4607
e623f2b2 Add building with depends to the Makefile (TheCharlatan)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f9270ebf2..f21038b74 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,10 @@ endif
all: release-all
+depends:
+ cd contrib/depends && $(MAKE) HOST=$(target) && cd ../.. && mkdir -p build/$(target)/release
+ cd build/$(target)/release && cmake -DCMAKE_TOOLCHAIN_FILE=$(CURDIR)/contrib/depends/$(target)/share/toolchain.cmake ../../.. && $(MAKE)
+
cmake-debug:
mkdir -p $(builddir)/debug
cd $(builddir)/debug && cmake -D CMAKE_BUILD_TYPE=Debug $(topdir)