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.
簡単な「ヘルプ」オプションをメイクファイルに書きたいのですが、問題は次のとおりです。
all: echo "help options.."
make端末で呼び出すと、次のように出力されます。
make
echo "help options.." help options..
印刷のみ可能ですか?:
help options..
これがあなたにとって明らかであることを願っています。
次のように、コマンドの前に「@」を付けます。
target: @echo "help options.."
GNU Make には、これを説明する非常に優れたマニュアルがあります。