You can make "all" a PHONY target (if it isn't already) which has the real target as a prerequisite, and does something inconspicuous:.PHONY: allall: realTarget @echo > /dev/null 这篇关于禁止“对“全部"不做任何事情"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-01 10:25