我在Makefile中有以下PHONY目标 install: echo /usr/bin/shelldecrypt must be writable cp shelldecrypt /usr/bin 当我运行目标时,它会显示正在执行的命令 提示 make install 输出是 echo /usr/bin/shelldecrypt must be wri
install: echo /usr/bin/shelldecrypt must be writable cp shelldecrypt /usr/bin
当我运行目标时,它会显示正在执行的命令
提示> make install
输出是
echo /usr/bin/shelldecrypt must be writable /usr/bin/shelldecrypt must be writable cp shelldecrypt /usr/bin
按我的意思输出它
/usr/bin/shelldecrypt must be writable cp shelldecrypt /usr/bin你可以在你的命令之前加上“@”来压制那个回声
install: @echo /usr/bin/shelldecrypt must be writable cp shelldecrypt /usr/bin