linux下make用法
1.查看make的帮助,输入如下命令:
make -h
显示如下:
Usage: make [options] [target] ...
Options:-b, -m Ignored for compatibility.-B, --always-make Unconditionally make all targets.-C DIRECTORY, --directory=DIRECTORYChange to DIRECTORY before doing anything.-d Print lots of debugging information.--debug[=FLAGS] Print various types of debugging information.-e, --environment-overridesEnvironment variables override makefiles.--eval=STRING Evaluate STRING as a makefile statement.-f FILE, --file=FILE, --makefile=FILERead FILE as a makefile.-h, --help Print this message and exit.-i, --ignore-errors Ignore errors from recipes.-I DIRECTORY, --include-dir=DIRECTORYSearch DIRECTORY for included makefiles.-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.-k, --keep-going Keep going when some targets can't be made.-l [N], --load-average[=N], --max-load[=N]Don't start multiple jobs unless load is below N.-L, --check-symlink-times Use the latest mtime between symlinks and target.-n, --just-print, --dry-run, --reconDon't actually run any recipe; just print them.-o FILE, --old-file=FILE, --assume-old=FILEConsider FILE to be very old and don't remake it.-O[TYPE], --output-sync[=TYPE]Synchronize output of parallel jobs by TYPE.-p, --print-data-base Print make's internal database.-q, --question Run no recipe; exit status says if up to date.-r, --no-builtin-rules Disable the built-in implicit rules.-R, --no-builtin-variables Disable the built-in variable settings.-s, --silent, --quiet Don't echo recipes.-S, --no-keep-going, --stopTurns off -k.-t, --touch Touch targets instead of remaking them.--trace Print tracing information.-v, --version Print the version number of make and exit.-w, --print-directory Print the current directory.--no-print-directory Turn off -w, even if it was turned on implicitly.-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILEConsider FILE to be infinitely new.--warn-undefined-variables Warn when an undefined variable is referenced.This program built for x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>
2.查看参数-j的含义,是使用多核执行编译,-j后添加核的个数,如果-j后面不写数字,那么使用计算机的全部核进行编译。
make -j
make -j 1
linux下make用法相关推荐
- Linux下wine用法
Linux下wine用法 下面是wine的使用方法. 一.要在Linux下运行,wine是必不可少的,所以,请将wine安装到你的系统里. 二.将你的Windows所在的分区加载到某个目录.(本文假定 ...
- linux下rdesktop用法
我自己用的参数rdesktop -g workarea -D -r clipboard:PRIMARYCLIPBOARD -a 16 -x lan 192.168.1.2 rdesktop是Linux ...
- linux下grep用法
linux下grep用法 [root@kylin10 ~]# nl test.txt1 I love china2 I love chinese3 My lover is flower 1.grep ...
- linux下automake用法
此篇为转载好文:原文链接: linux下automake用法 - Rixu Blog (日需博客) - C++博客 http://www.cppblog.com/gezidan/archive/201 ...
- linux下DNW用法
1.把linux下的DNW应用程序放到linux下的/bin目录下 sudo chmod +x /bin/dnw sudo chmod +s /bin/dnw 2.插入USB线,用USB连接开发板 ...
- Linux下gunicorn用法
最近在linux下用到了gunicorn,做下记录 1.gunicorn是一个python Wsgi http server.Gunicorn使用prefork master-worker模型(在gu ...
- linux下snprintf用法,关于snprintf,_snprintf,_snprintf_s操作
一.snprintf与snprintf_s的区别 众所周知,sprintf不能检查目标字符串的长度,可能造成众多安全问题,所以都会推荐使用snprintf. snprintf函数在C++11之前 并不 ...
- 在linux下nice用法,Linux下nice/renice命令小结
1. nice命令 内核根据进程的nice值决定进程需要多少处理器时间. nice值的取值范围是是: -20到20. 一个具有-20 的 nice 值的进程有很高的优先级. 一个 nice 值为 20 ...
- linux下find用法 find -name *.so -exec ll {} \;
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 .作者信息和本声明.否则将追究法律责任.http://zhaizhenxing.blog.51cto.com/643480/134885 ...
- linux下rename用法--批量重命名
Linux的rename 命令有两个版本,一个是C语言版本的,一个是Perl语言版本的,早期的Linux发行版基本上使用的是C语言版本的,现在已经很难见到C语言版本的了,由于历史原因,在Perl语言大 ...
最新文章
- 李飞飞:让机器有分辨事物的“眼睛”
- linux nfs 配置_NFS服务器
- 【数学与算法】协方差矩阵 与 w*w^T 的关系
- .html()和.text()及.val()的区别
- 盐城工学院计算机基础试卷,大学计算机基础及实用软件/大学计算机基础
- 鱼眼图像畸变校正--透视变换
- 剖析SQL Server2005 SQLCLR代码安全性
- centos6.5 安装python3.5
- android webview圆角,Android 实现一个通用的圆角布局
- 合并table中某一列相邻的相同的行
- 对Moss 2007中访问群体的设置和使用补充
- js请求后台接口返回的图片并转为base64
- python学习之老男孩python全栈第九期_day024知识点总结——单继承、多继承
- requirejs加载layerdate.js遇到的各种坑
- 校园水卡M1卡破解写卡
- android平板电脑的虚拟键盘,苹果平板电脑ipad虚拟键盘介绍 ipad虚拟键盘使用方法【详解】...
- excel双条件筛选
- UI设计之什么是设计
- Silvaco TCAD仿真1——TCAD概述
- Nuxt3接入51la等网站统计