标签: makefile gnu-make phony-target
我想将a-test,b-test,c-test声明为虚假目标。我可以声明:
a-test
b-test
c-test
.PHONY : *-test
代替
.PHONY : a-test b-test c-test
另外,声明.PHONY : %-test怎么样?
.PHONY : %-test