make.sh: Calculate MAKETUNING depending on available memory