To compile and save errors:

make 2>&1 > errors.txt

or just to see the errors

make 2 > errors.txt
