use ExtUtils::MakeMaker; my %options = %{ { 'INC' => '-I/home/pi/repos/scripts/c/rpi/dht11/library -I/usr/local/lib -I/home/pi/repos/wiringPi/wiringPi', 'NAME' => 'perl_pl_b1a3', 'TYPEMAPS' => [ '/home/pi/perl5/perlbrew/perls/perl-5.24.0/lib/5.24.0/ExtUtils/typemap' ], 'VERSION' => '0.00', 'CCFLAGS' => ' -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -lwiringPi' } }; WriteMakefile(%options); # Remove the Makefile dependency. Causes problems on a few systems. sub MY::makefile { '' }