if [ "$SAGE_DEBUG" = "yes" ] ; then
    CFLAGS="-g -O0 $CFLAGS" # No optimisation, aids debugging.
else
    CFLAGS="-g -O2 $CFLAGS" # Normal optimisation.
fi

export CFLAGS

cd src

sdh_configure LIBS="`pkg-config --libs-only-l cblas` -lm"
sdh_make
sdh_make_install
