1 2 3 4 5 6 7 8 9
use ExtUtils::MakeMaker; WriteMakefile( NAME => 'DB_File', LIBS => ["-L/usr/local/lib -ldb"], #INC => '-I/usr/local/include', VERSION => 1.0, );