Creates a group of Makefile items

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

Description

Helps separating similar rules.

Details

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

Examples

makefile(make_rule("all", c("first_target", "second_target")))
# Generated by MakefileR, do not edit by hand all: first_target second_target