she周杰伦候鸟:请教makefile 内的一小段语句

来源:百度文库 编辑:高校问答 时间:2024/05/03 07:58:35
liblist: Makefile
@echo "# liblist - This file is generated automatically." > liblist
@echo "# DO NOT EDIT unless you are sure you" >> liblist
@echo "# know what you are doing. Generally" >> liblist
@echo "# Makefile should be edited instead." >> liblist
@echo $(LIBLIST) | tr ' ' '\012' >> liblist

问题1 该段语句本来就是在Makefile里的,Makefile里面的一个目标--liblist,怎么反过来依赖于Makefile?
问题2 @echo "# Makefile should be edited instead." >> liblist是啥意思?为什么前面加 @
而且第一行的@echo最后结尾是>liblist而不是》liblist
问题3 最后一句话怎么理解?
谢谢!