The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Data::Hopen::Gen::Make - hopen generator for simple Makefiles

SYNOPSIS

This generator makes a Makefile that does its best to run on cmd.exe or sh(1).

ATTRIBUTES

targets

A Hash::Ordered of the targets, in the order encountered.

FUNCTIONS

visit_goal

Add a target corresponding to the name of the goal. Usage:

    $Generator->visit_goal($node, $node_inputs);

This happens while the command graph is being run.

finalize

Write out the Makefile.

default_toolset

Returns the package name of the default toolset for this generator, which is Gnu (i.e., Data::Hopen::T::Gnu).

_assetop_class

The class of asset-graph operations, which in this case is App::hopen::Gen::Make::AssetGraphNode.

_run_build

Implementation of "run_build".

INTERNALS

_expand

Produce the command line or lines associated with a work item. Used by "finalize".

BUILD

Constructor