File: Makefile.PL

package info (click to toggle)
pdl 1%3A2.007-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,848 kB
  • ctags: 6,321
  • sloc: perl: 32,760; fortran: 13,113; ansic: 9,273; makefile: 81; sh: 32
file content (20 lines) | stat: -rw-r--r-- 420 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use ExtUtils::MakeMaker;

@pack = (["matrixops.pd",MatrixOps,PDL::MatrixOps]);
%hash = pdlpp_stdargs_int(@::pack);

PDL::Core::Dev->import();

$hash{OBJECT} = "" unless exists $hash{OBJECT};

foreach my $file (qw (blas eigens simq svd eigen complex matrix sslib)) {
    $hash{OBJECT} .= " $file\$(OBJ_EXT)";
}

$hash{LIBS}->[0] .= " -lm ";

WriteMakefile( %hash );

sub MY::postamble {
  pdlpp_postamble_int(@::pack);
}