Home | History | Annotate | Download | only in perl5
      1 # File : Makefile.pl
      2 # MakeMaker file for a SWIG module.  Use this file if you are
      3 # producing a module for general use or distribution.
      4 #
      5 # 1.  Modify the file as appropriate. Replace $module with the
      6 #     real name of your module and wrapper file.
      7 # 2.  Run perl as 'perl Makefile.pl'
      8 # 3.  Type 'make' to build your module
      9 # 4.  Type 'make install' to install your module.
     10 # 
     11 # See "Programming Perl", 2nd. Ed, for more gory details than
     12 # you ever wanted to know.
     13 
     14 use ExtUtils::MakeMaker;
     15 WriteMakefile(
     16      'NAME' => '$module',            # Name of your module
     17      'LIBS' => [''],                 # Custom libraries (if any)
     18      'OBJECT' => '$module_wrap.o'    # Object files
     19 );
     20 
     21 
     22