make_group: Creates a group of Makefile items

Description Usage Arguments Details Value References See Also Examples

Description

Helps separating similar rules.

Usage

1
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.

Details

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

Value

An object of class MakefileR_group

References

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

See Also

c.MakefileR_group

Other items: make_comment, make_def, make_rule, make_text

Examples

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

MakefileR documentation built on May 1, 2019, 10:30 p.m.