Macにコマンドラインツールをインストール
macOS Sierra のターミナルで makeを実行しようとしたら次のエラーに遭遇した.
$ make xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
この場合,xcode-select コマンドを使う.
$ xcode-select --install xcode-select: note: install requested for command line developer tools
コマンドライン開発ツールが必要というメッセージがコンソールに出力され,インストール確認のダイアログが表示される.そこでインストールすれば良い.