Creates a Makefile

Usage

makefile(..., .dots = NULL)

Arguments

...
[MakefileR] Items created by make_rule or other make_ functions
.dots
[list] Further rules in addition to ...

Value

An object of class MakefileR_file

Description

A Makefile consists of a list of rules, definition, comments and other items.

Details

Use the c function or the + operator to append rules, definitions, comments, plain text, and groups.

Examples

makefile(make_rule("all", c("first_target", "second_target")))
# Generated by MakefileR, do not edit by hand all: first_target second_target