makefile

简单格式

target:components   
    rule

  

$@          --代表目标文件(target)

$^            --代表所有的依赖文件(components)

$<           --代表第一个依赖文件(components中最左边的那个)。

  

猜你喜欢

转载自www.cnblogs.com/fply/p/8919927.html