删除从命令行传递的 Make 目标
Remove Make goal passed from commandline
在我因滥用make而被斩首之前,是否可以删除命令行传递的目标?
类似于 MAKECMDGOALS := $(wordlist 1,2,$(MAKECMDGOALS))
?
我试过了,但它仍然继续并制定了其他规则...
MAKECMDGOALS
The targets given to make on the command line. Setting this variable has no effect on the operation of make.
(强调已添加。)
在我因滥用make而被斩首之前,是否可以删除命令行传递的目标?
类似于 MAKECMDGOALS := $(wordlist 1,2,$(MAKECMDGOALS))
?
我试过了,但它仍然继续并制定了其他规则...
MAKECMDGOALS
The targets given to make on the command line. Setting this variable has no effect on the operation of make.
(强调已添加。)