use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. $prefix=""; $exec_prefix="${prefix}"; WriteMakefile( 'NAME' => 'WHOSON', 'VERSION_FROM' => 'WHOSON.pm', 'LIBS' => ['-L${exec_prefix}/lib -lwhoson'], 'DEFINE' => '', 'INC' => '-I${prefix}/include', );