File: Makefile.PL

package info (click to toggle)
pdl 1%3A2.4.3-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,700 kB
  • ctags: 3,724
  • sloc: perl: 23,874; ansic: 10,952; fortran: 6,374; sh: 75; makefile: 58
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);
}