Makefile.pl 688 B

12345678910111213141516171819
  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. use ExtUtils::MakeMaker;
  14. WriteMakefile(
  15. 'NAME' => '$module', # Name of your module
  16. 'LIBS' => [''], # Custom libraries (if any)
  17. 'OBJECT' => '$module_wrap.o' # Object files
  18. );