Linux command
mk 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Build default target
mk
Build specific target
mk [target]
Parallel build
mk -j
Use specific mkfile
mk -f [mkfile.custom]
Dry run
mk -n
Force rebuild
mk -a
说明
mk is Plan 9's make replacement. It provides similar functionality with cleaner syntax. The tool reads mkfiles for build instructions. Simpler than traditional make.
参数
- -f _FILE_
- Use specified mkfile.
- -j
- Parallel execution.
- -n
- Dry run.
- -a
- Force rebuild all.
- --help
- Display help information.
FAQ
What is the mk command used for?
mk is Plan 9's make replacement. It provides similar functionality with cleaner syntax. The tool reads mkfiles for build instructions. Simpler than traditional make.
How do I run a basic mk example?
Run `mk` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -f _FILE_ do in mk?
Use specified mkfile.