use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( 'NAME' => 'Math::GMP', 'VERSION_FROM' => 'lib/Math/GMP.pm', # finds $VERSION 'INC' => '-I/usr/local/include', 'LIBS' => ['-L/usr/local/lib -lgmp'], # e.g., '-lm' 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' );