make_group {MakefileR}R Documentation

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.

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

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


[Package MakefileR version 1.0 Index]