Prima::Make

Prima::Make is a Perl module for automated Makefile creating.
Download

Prima::Make Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Dmitry Karasik
  • Publisher web site:
  • http://search.cpan.org/~karasik/Prima-1.26/pod/Prima/Widget.pod

Prima::Make Tags


Prima::Make Description

Prima::Make is a Perl module for automated Makefile creating. Prima::Make is a Perl module for automated Makefile creating.Prima does not use standard Make::MakeMaker module for creating its Makefile, nor it encourages to use it for the build of Prima-dependent C modules, although this is possible. For such a module it is typical to use Prima::Make inside its Makefile.PL, and use the methods that provide compilation and linking commands.The module implements its own basic file operations, required for a typical installer: file copying, removing, creation of distributives etc. See init for details.SYNOPSIS use Prima::Make; # check command line exit unless init( @ARGV ); # object file extension my $o = $Prima::Config::Config{objext}; # store .pm files under /File directory setvar( 'INSTALL_LIB', $PREFIX . qd( "/File")); # compile command my $cc = cc_command_line( "a.c", "a.$o"); # so / dll name my $dl = dl_name( "a" ); # link command my $ld = ld_command_line( "a.c", "a.def", "a.$o"); open F, "> Makefile"; print F Requirements: · Perl


Prima::Make Related Software