The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

WriteMakefile(
'NAME' => 'Text::Tmpl',
'VERSION_FROM' => 'Tmpl.pm',
'LIBS' => '-Llibtmpl/ -ltmpl',
'DEFINE' => '',
'OBJECT' => 'perl_tags.o Tmpl.o',
'OPTIMIZE' => '-O3 -g',
'INC' => '-Ilibtmpl/',
'MYEXTLIB' => 'libtmpl/libtmpl.a',
'depend' => {
'clean:' => 'libtmpl_clean',
'realclean:' => 'libtmpl_clean',
},
'MAN3PODS' => {
'Tmpl.pm' => 'blib/man3/Text::Tmpl.3',
'libtmpl.pod' => 'blib/man3/libtmpl.3',
'template_extend.pod' => 'blib/man3/template_extend.3',
'template_syntax.pod' => 'blib/man3/template_syntax.3',
},
);
sub MY::postamble {
'
$(MYEXTLIB): libtmpl/Makefile
cd libtmpl && $(MAKE) all
libtmpl_clean: libtmpl/Makefile
cd libtmpl && $(MAKE) clean
';
}