こんな感じの shell script を run.sh とかで保存して。
#!/bin/sh
curdir="${PWD##*/}"
rm bin/$curdir
make -j$(nproc)
make run
特定のアプリケーションのディレクトリへ移動して、以下のコマンド実行してやれば、だいたい動く。
$ sh run.sh
便利だ!!!!
More than 5 years have passed since last update.
こんな感じの shell script を run.sh とかで保存して。
#!/bin/sh
curdir="${PWD##*/}"
rm bin/$curdir
make -j$(nproc)
make run
特定のアプリケーションのディレクトリへ移動して、以下のコマンド実行してやれば、だいたい動く。
$ sh run.sh
便利だ!!!!
Register as a new user and use Qiita more conveniently