Study of writting Makefile

博客指出不要局限于用Makefile编译代码或创建库,它可自动化从输入文件到输出文件的任务,如调用AWK或sed处理文件、生成手册页等,只要Make能根据文件日期时间信息判断文件变化,就能自动化文件操作。

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

Don't confine yourself to using makefiles to compile code or create libraries. You can use them to automate any task where there is a sequence of commands that get you from some sort of input file to an output file. A typical "non compiler" use might be calling AWK or sed to process some files, or even generating manual pages. You can automate just about any file manipulation, just as long as make can work out, from the date and time information on the files, which ones have changed.

             ---- Beginning Linux Programming

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值