Merge pull request #4607

e623f2b2 Add building with depends to the Makefile (TheCharlatan)
This commit is contained in:
Riccardo Spagni
2018-10-26 22:36:36 +02:00
2 changed files with 13 additions and 12 deletions

View File

@@ -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)