Skip to content

Grouped Targets are not connected correctly #50

@vasvir

Description

@vasvir

This is a relatively new feature of GNU Make (from 2020). See here: https://www.gnu.org/software/make/manual/html_node/Multiple-Targets.html#Rules-with-Grouped-Targets

The feature is very useful when there is one command to build multiple targets and you are doing parallel builds. If you don't specify the & (grouped targets) then the same command is executed multiple times, as many the targets.

target_1 target_2 &: input
    command input # generated target_1 and target_2 in one step

Currently make2graph connects the last target node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions