1.目标,依赖,命令位置不能乱
target ... : prerequisites ...
command
2.只有命令前面需要tab
3.多行连接符号\后面不要有空格
Make is very touchy about spaces and tabs, it treats indented lines as commands
另:
echo 后空格没问题。
变量赋值:=和=一样。
1.目标,依赖,命令位置不能乱
target ... : prerequisites ...
command
2.只有命令前面需要tab
3.多行连接符号\后面不要有空格
Make is very touchy about spaces and tabs, it treats indented lines as commands
另:
echo 后空格没问题。
变量赋值:=和=一样。