日期:2014-05-16  浏览次数:20899 次

Makefile中 ruvs 是什么意思?
看到Makefile中有下面一行:
$(AR) ruvs $(MODELLIB) $(OBJS)

请教 ruvs 什么意思?
makefile

------解决方案--------------------
那是ar命令的参数,man ar
------解决方案--------------------
那是4个选项的组合

执行ar --help
可以看到每个选项的含义

r[ab][f][u]  - replace existing or insert new file(s) into the archive
[u]          - only replace files that are newer than current archive contents
[s]          - create an archive index (cf. ranlib)
[v]          - be verbose