No memleaks and faster blessing as a perl obj. For rect
[sdlgit/SDL_perl.git] / exp / SDL / Rect / Makefile.PL
1 use ExtUtils::MakeMaker;
2 $Verbose = 1;
3 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
4 # the contents of the Makefile that is written.
5 WriteMakefile(
6     'NAME'      => 'SDL::Rect',
7     'VERSION_FROM' => 'Rect.pm', # finds $VERSION
8     'LIBS'      => scalar `sdl-config --libs`,   # e.g., '-lm' 
9     'DEFINE'    => '',     # e.g., '-DHAVE_SOMETHING' 
10     'INC'       => scalar `sdl-config --cflags`,     # e.g., '-I/usr/include/other' 
11     'XSPROTOARG'        => '-noprototypes',
12     'TYPEMAPS'  => ['perlobject.map' ],
13 );