The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;
use ExtUtils::MakeMaker;

my @pack = (["complex.pd", qw(Complex PDL::Complex)]);

my %hash = pdlpp_stdargs_int(@pack);
$hash{LIBS} = ['-lm'];

undef &MY::postamble; # suppress warning
*MY::postamble = sub{ pdlpp_postamble_int(@pack); };

WriteMakefile(%hash);