summaryrefslogtreecommitdiffstats
path: root/perl-install/Newt/Makefile.PL
blob: 6378a8f3157c8a996530db92e82390e607ed97c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

WriteMakefile(
    'NAME'	=> 'Newt',
    'OBJECT'    => 'Av_CharPtrPtr.o Newt.o',
    'MAKEFILE'  => 'Makefile_c',
    'OPTIMIZE'  => '-Os',
    'VERSION_FROM' => 'Newt.pm', # finds $VERSION
    'LIBS'	=> ['-lnewt -lslang'],
    'DEFINE'	=> '',     # e.g., '-DHAVE_SOMETHING' 
);