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

sub MY::postamble {
'
$(MYEXTLIB): lib/Makefile
	cd . && $(MAKE) $(PASTHRU)
';
}
