假设我在Makefile中有以下规则:
%.foo: %.bar %.spam %.bot <tab> echo "hello1" > $<
%.foo: %.bar %.spam %.bot
<tab> echo "hello1" > $<
我怎样才能将"hello2"回显到第二个依赖项(但不是.bot文件),即.spam文件?谢谢
makefile
makefile ×1