File: Makefile.PL

package info (click to toggle)
libclone-fast-perl 0.96-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 344 kB
  • sloc: perl: 200; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 670 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use ExtUtils::MakeMaker;

# perl Makefile.PL -d to enable -g flag for gdb.
my $DEBUG = grep $_ eq '-d', @ARGV;

WriteMakefile(
    NAME          => 'Clone::Fast',
    VERSION_FROM  => 'lib/Clone/Fast.pm',
    PREREQ_PM     => { 'Test::More' => 0, },
    ABSTRACT_FROM => 'lib/Clone/Fast.pm',
    AUTHOR        => 'Trevor Hall <wazzuteke@cpan.org>',

    LIBS   => [''],     # e.g., '-lm'
    DEFINE => '',       # e.g., '-DHAVE_SOMETHING'
    INC    => '-I.',    # e.g., '-I. -I/usr/include/other'

    # Un-comment this if you add C files to link with later:
    OBJECT => '',       # '$(O_FILES)', # link all the C files too

    OPTIMIZE => $DEBUG ? '-g' : '-O2',
);