GNU make manual 翻译(四十三)

本文探讨了如何从源文件自动地生成Makefile的前提条件,并介绍了一种将这些前提条件放置于单独文件中的实践方法,这种方法相较于传统做法更为清晰。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

继续翻译

   Another such occasion is when you want to generate prerequisites from  
source files automatically; the prerequisites can be put in a file that 
is included by the main makefile.  This practice is generally cleaner 
than that of somehow appending the prerequisites to the end of the main 
makefile as has been traditionally done with other versions of `make'. 
*Note Automatic Prerequisites::.                          

另一个场景时,当你想要从源文件自动地生成前提条件;前提条件可以放在一个文件里,这个文件再被include到 主 makefile中。此种实践通常会被那些靠连接 makefile文件尾部的前提条件的传统做法要更加清晰。

*Note Automatic Prerequisites::. 

后文待续

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值