NAME
SPVM::Builder::Util - Build Utilities
DESCRIPTION
SPVM::Builder::Util is building utilities.
FUNCTIONS
create_make_rule_native
Create native compile make rule.
This is used in Makefile.PL of your distributed module.
# Makefile.PL
sub MY::postamble {
my $make_rule = '';
# Native compile make rule
$make_rule .= SPVM::Builder::Util::create_make_rule_native('Foo');
return $make_rule;
}
create_make_rule_precompile
Create precompile make rule.
This is used in Makefile.PL of your distributed module.
sub MY::postamble {
my $make_rule = '';
# Precompile make rule
$make_rule .= SPVM::Builder::Util::create_make_rule_precompile('Foo');
return $make_rule;
}