File:  [LON-CAPA] / loncom / homework / caparesponse / Makefile.PL
Revision 1.2: download - view: text, annotated - select for diffs
Mon Sep 11 21:30:16 2000 UTC (23 years, 8 months ago) by albertel
Branches: MAIN
CVS tags: HEAD
- it compiled, maybe it works?

    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: $capadir = "/home/albertel/CAPA";
   15: 
   16: use ExtUtils::MakeMaker;
   17: WriteMakefile(
   18:      'NAME' => 'caparesponse',            # Name of your module
   19:      'INC' => "-I$capadir/pProj",
   20:      'LIBS' => [''],                 # Custom libraries (if any)
   21:      'DEFINE' => '-g -Wall -O0 -D_GNU_SOURCE',
   22:      'OBJECT' => 'caparesponse.o capaFunctions/*.o'    # Object files
   23: );     

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>