Creates a Makefile

Share:

Description

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

Usage

1
makefile(..., .dots = NULL)

Arguments

...

[MakefileR]
Items created by make_rule or other make_ functions

.dots

[list]
Further rules in addition to ...

Details

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

Value

An object of class MakefileR_file

References

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

See Also

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

Examples

1
makefile(make_rule("all", c("first_target", "second_target")))