#!/bin/sh set -ex cd "$(dirname "$(readlink -f "$0")")/.." # BUG: parameterize the platform/host directory: PREFIX="$(pwd)/depends/x86_64-unknown-linux-gnu/" make "$@" -C ./depends/ V=1 NO_QT=1 ./autogen.sh ./configure --prefix="${PREFIX}" --with-gui=no CXXFLAGS='-O0 -g' make "$@" V=1