MakefileR (version 1.0)

makefile: Creates a Makefile

Description

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

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

Details

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

References

https://www.gnu.org/software/make/manual/

See Also

make_rule, make_def, make_comment, make_text, make_group, c.MakefileR_group

Examples

Run this code
makefile(make_rule("all", c("first_target", "second_target")))

Run the code above in your browser using DataCamp Workspace