use ExtUtils::MakeMaker; WriteMakefile( 'NAME' => 'Image::Filter::Posterize', # Name of package 'VERSION_FROM' => 'Posterize.pm', # finds $VERSION 'LIBS' => ['-L/usr/lib -lgd -ljpeg -lpng'], # All custom libraries to be linked with 'OBJECT' => 'posterize.o Posterize.o', # All object files );