MakefileR (version 1.0)

make_group: Creates a group of Makefile items

Description

Helps separating similar rules.

Usage

make_group(..., .dots = NULL, sep = NULL)

Arguments

...
[MakefileR] Items created by make_rule or other make_ functions
.dots
[list] Further rules in addition to ...
sep
[character(1)] Separator between group items, NULL (the default) means no separator.

Value

An object of class MakefileR_group

Details

Use the c function or the + operator to append groups to other groups and Makefiles (thus creating nested groups).

References

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

See Also

c.MakefileR_group

Other items: make_comment, make_def, make_rule, make_text

Examples

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

Run the code above in your browser using DataCamp Workspace