我正在尝试使用
$(patsubst %-%,%:%,$(MAKECMDGOALS))
在 make 目标中用冒号替换破折号,但没有效果。
我怎么能做到这一点?
make replace
make ×1
replace ×1