# dummy makefile
use ExtUtils::MakeMaker;
my %mm_args = (
'NAME' => 'Dummy::Module',
);
sub MY::postamble {
return <<'__POSTAMBLE__';
pryrt ::
$(ECHO) shell is set to "$(SHELL)"
$(PERL) -V:myuname -V:make
__POSTAMBLE__
}
WriteMakefile( %mm_args );
####
perl Makefile.PL
gmake pryrt
####
C:\Users\peter.jones\Downloads\TempData\perl>perl Makefile.PL
Generating a gmake-style Makefile
Writing Makefile for Dummy::Module
Writing MYMETA.yml and MYMETA.json
C:\Users\peter.jones\Downloads\TempData\perl>gmake pryrt
"C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\PERL\BIN\perl.exe" -l -e "binmode STDOUT, qq{:raw}; print qq{@ARGV}" -- shell is set to "C:/Windows/system32/cmd.exe"
shell is set to C:/Windows/system32/cmd.exe
"C:\USR\LOCAL\APPS\BERRYBREW\PERLS\SYSTEM\PERL\BIN\perl.exe" -V:myuname -V:make
myuname='Win32 strawberry-perl 5.30.0.1 #1 Thu May 23 12:20:46 2019 x64';
make='gmake';