#!/bin/bash set -e export MACOSX_DEPLOYMENT_TARGET=10.14 INSTALLDIR="$HOME/deps" NPROCS="$(getconf _NPROCESSORS_ONLN)" SDL=SDL2-2.28.1 PNG=1.6.37 JPG=9e SOUNDTOUCH=soundtouch-2.3.1 QT=6.4.3 mkdir deps-build cd deps-build export PKG_CONFIG_PATH="$INSTALLDIR/lib/pkgconfig:$PKG_CONFIG_PATH" export LDFLAGS="-L$INSTALLDIR/lib -dead_strip $LDFLAGS" export CFLAGS="-I$INSTALLDIR/include -Os $CFLAGS" export CXXFLAGS="-I$INSTALLDIR/include -Os $CXXFLAGS" cat > SHASUMS <