From e623f2b225106933cf26330fc4814d50a5d72bfb Mon Sep 17 00:00:00 2001 From: TheCharlatan Date: Tue, 16 Oct 2018 03:39:17 +0200 Subject: Add building with depends to the Makefile Depends can now be compiled with `make depends target=$triple`, where $triple is one of the supported build targets. Adapt the Makefile for this change, remove not needed windows deps from depends setup description. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 40b8839cc..c858412e6 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,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) -- cgit v1.2.3