Skip to contents

This function executes the make command to rebuild all dependencies according to the Makefile generated by makefile().

Usage

make(..., .stdout = "", .stderr = "", .stdin = "")

Arguments

...

Command-line arguments passed to the make command (see ?make in your shell for details)

.stdout

Where to direct standard output; see base::system2().

.stderr

Where to direct standard error; see base::system2().

.stdin

Where to get standard input; see base::system2()

Value

Exit status of the command; see base::system2() for details.

Author

Michal Burda

Examples

if (FALSE) { # \dontrun{
  make()        # make all
  make('clean') # make the 'clean' task
  make('-j', 4) # make with 4 processes in parallel
} # }