makeの出力をログにとる


make >Make.log 2>&1

こうすると、エラー出力もちゃんとリダイレクトされるよ。

make 2>&1 | tee Make.log

teeコマンドをつかうと標準出力にも出しつつログがとれるよ。