23,217
社区成员




-j [jobs], --jobs[=jobs]
Specifies the number of jobs (commands) to run simultaneously. If there is more than one -j
option, the last one is effective. If the -j option is given without an argument, make will
not limit the number of jobs that can run simultaneously.
如果使用了"-j",但没有指定参数,则这时候jobs数目没有限制
然后再来看看Parallel Execution在Make manual里面的介绍:
If the ‘-j’ option is followed by an integer, this is the number of recipes to execute at once; this is called the number of job slots. If there is nothing looking like an integer after the ‘-j’ option, there is no limit on the number of job slots. The default number of job slots is one, which means serial execution (one thing at a time).
那么可以看到,如果不指定"-j"选项,则默认只有一个job。
除了在调用make的时候显示添加"-j',那么还有可能设置了环境变量MAKEFLAGS,又或者在MAKEFILE中设置了这个参数,也不排除其他可能。
至于你说的配置文件,我搜索过一些资料,并没有make对应的配置文件。