diff --git a/Makefile b/Makefile index 1f59eda9..19ba89af 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,11 @@ debug-static-all: mkdir -p build/debug cd build/debug && cmake -D BUILD_TESTS=OFF -D STATIC=ON -D BUILD_SHARED_LIBS=OFF -D CMAKE_BUILD_TYPE="Debug" ../.. && $(MAKE) +debug-cross-linux: + cd contrib/depends && ${MAKE} -j4 HOST=x86_64-gnu-linux + mkdir -p build/debug + cd build/debug && cmake -D CMAKE_BUILD_TYPE="Debug" -D CMAKE_TOOLCHAIN_FILE=${PWD}/contrib/depends/x86_64-gnu-linux/share/toolchain.cmake ../.. && ${MAKE} + cmake-release: mkdir -p build/release cd build/release && cmake -D CMAKE_BUILD_TYPE="Release" ../..