Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ターミナルで実行できるコマンドラインがあります:
nwave nand_sim.fsdb -play hello.tcl
しかし、この行をメイクファイルに追加すると、次のようになりました。
nwave コマンドが見つかりません
何故ですか?ターミナルのコマンドとメイクファイルのコマンドは同じように実行されませんか?
コマンドを見つけるには、PATH 環境変数を検索します。この設定は、シェルとメイクファイルで同じではありません。特に標準ディレクトリにない場合は、常にコマンドへのパス全体を含めることをお勧めします。