当前位置:网站首页>GUN make (7) 执行make
GUN make (7) 执行make
2022-06-25 23:57:00 【Chen_Hulk】
1. 替代命令的执行
在某些时候,并不希望更新那些已经过期的目标文件(比如只是检查更新目标的命令是否正确,或者查看那些目标需要更新)。
可以通过一些特定的参数限定make执行的动作,来替代make默认动作的执行。
-n
--just-print
--dry-run
--recon
指定make执行空操作,只打印需要重建目标使用的命令,而不对目标进行重建。
-t
--touch
更新所有目标文件的时间戳
-q
--question
不执行任何命令并且不打印任何输出信息,只检查指定的目标是否已经是最新的,如果是则返回0,否则返回1.
-W FILE
--what-if=FILE
--assume-new=FILE
--new-file=FILE
指定文件名,make将当前系统时间作为这个文件的时间戳。
2. make的命令行选项
-d
make在执行过程中打印出所有的调试信息。
-f=FILE
--file=FILE
--makefile=FILE
指定FILE为make执行的makefile文件
-i
-ignore-errors
忽略规则命令执行错误。
-I DIR
--include-dir=DIR
指定包含makefile文件的搜索目录
-k
--keep-going
执行命令错误时不终止make的执行
-o FILE
--old-file=FILE
--assume-old=FILE
指定文件FILE不需要重建,即使相对于它的依赖已经过期,同时也不重建依赖于此文件的任何文件。
边栏推荐
- 正则表达式
- 远程增量同步神器rsync
- 2022防爆电气操作证考试题库及模拟考试
- Textcnn paper Interpretation -- revolutionary neural networks for sense classification
- Oracle常用的基础命令
- CityJSON
- Handling of @charset UTF-8 warning problems during vite packaging and construction;
- Technical foreword - metauniverse
- 生信周刊第34期
- 2021-1-15 fishing notes ctrl+c /v
猜你喜欢
从在浏览器的输入框输入一个网址,到看到网页的内容,这个过程中发生了什么?
Cross validation -- a story that cannot be explained clearly
Postman断言对应脚本的解释
Basic concepts of machine learning
Shengxin weekly issue 33
在FreeBSD中安装MySQL数据库
RT-Thread 项目工程搭建和配置--(Env Kconfig)
[Excel知识技能] Excel数据类型
15 `bs object Node name Node name String` get nested node content
MySQL图书借阅系统项目数据库建库表语句(组合主键、外键设置)
随机推荐
When you run the demo using the gin framework, there is an error "listen TCP: 8080: bind: an attempt was made to access a socket in a way forbidden"
Have you considered going or staying in graduation season
23. histogram equalization
STM32 key development foundation
Summary of informer's paper
Web information collection, naked runners on the Internet
A sharp tool for information collection, Google hacker syntax
Camera - 02 image sensor
Summary of knowledge points of catboost
Set set!! Review quickly -- MySQL addition, deletion, modification and query, internal, left and right connection review notes
2022 explosion proof electrical operation certificate examination question bank and simulation examination
[flower carving experience] 11 start esp32c3
RT-Thread 项目工程搭建和配置--(Env Kconfig)
Abnova丨CMV CISH 探头解决方案
Oracle数据库开启备份准备工作
Native DOM vs. virtual DOM
同花顺上登录股票账户是安全的吗?同花顺上是如何开股票账户的
Perfdog
Reading notes on how to connect the network - hubs, routers and routers (III)
GNN (graph neural network) introduction vernacular