LinuxCommandLibrary

mk

plan 9's make replacement

TLDR

Build default target

$ mk
copy
Build specific target
$ mk [target]
copy
Parallel build
$ mk -j
copy
Use specific mkfile
$ mk -f [mkfile.custom]
copy
Dry run
$ mk -n
copy
Force rebuild
$ mk -a
copy

SYNOPSIS

mk [options] [target]

DESCRIPTION

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.

PARAMETERS

TARGET

Target to build.
-f FILE
Use specified mkfile.
-j
Parallel execution.
-n
Dry run.
-a
Force rebuild all.
--help
Display help information.

CAVEATS

Plan 9/9front tool. Different from GNU make. Simpler rules syntax.

HISTORY

mk was created for Plan 9 at Bell Labs as a cleaner replacement for make.

SEE ALSO

make(1), ninja(1), rc(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community