/[VRac]/M6502/Makefile.PL
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /M6502/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 80 by dpavlin, Wed Aug 1 15:34:43 2007 UTC revision 81 by dpavlin, Wed Aug 1 15:53:54 2007 UTC
# Line 2  use 5.008; Line 2  use 5.008;
2  use ExtUtils::MakeMaker;  use ExtUtils::MakeMaker;
3  # See lib/ExtUtils/MakeMaker.pm for details of how to influence  # See lib/ExtUtils/MakeMaker.pm for details of how to influence
4  # the contents of the Makefile that is written.  # the contents of the Makefile that is written.
5    
6    my $M6502_OPTIONS = '-DEXEC6502 -DFAST_RDOP -DLSB_FIRST ';
7    $M6502_OPTIONS .= '-DDEBUG ';
8    
9  WriteMakefile(  WriteMakefile(
10      NAME              => 'M6502',      NAME              => 'M6502',
11      VERSION_FROM      => 'M6502.pm', # finds $VERSION      VERSION_FROM      => 'M6502.pm', # finds $VERSION
# Line 17  WriteMakefile( Line 21  WriteMakefile(
21        (ABSTRACT_FROM  => 'M6502.pm', # retrieve abstract from module        (ABSTRACT_FROM  => 'M6502.pm', # retrieve abstract from module
22         AUTHOR         => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),         AUTHOR         => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
23      LIBS              => [''], # e.g., '-lm'      LIBS              => [''], # e.g., '-lm'
24      DEFINE            => '-DEXEC6502 -DFAST_RDOP -DLSB_FIRST', # M6502 options      DEFINE            => '',
25      INC               => '-I. -I./src/', # e.g., '-I. -I/usr/include/other'      INC               => '-I. -I./src/', # e.g., '-I. -I/usr/include/other'
26          # Un-comment this if you add C files to link with later:          # Un-comment this if you add C files to link with later:
27      OBJECT            => '$(O_FILES) cpu.o', # link all the C files too      OBJECT            => '$(O_FILES) cpu.o', # link all the C files too
28          OPTIMIZE => '-g',          OPTIMIZE => '-g',
29          depend => {          depend => {
30                  'cpu.o' => qq{src/M6502.c\n\t\$(CC) -c -o cpu.o src/M6502.c},                  # M6502 options
31                    'cpu$(OBJ_EXT)' => qq{src/M6502.c\n\t\$(CC) \$(CCCDLFLAGS) -c -o cpu\$(OBJ_EXT) $M6502_OPTIONS src/M6502.c},
32          },          },
33  #       clean => {  #       clean => {
34  #               'FILES' => 'cpu.o',  #               'FILES' => 'cpu.o',

Legend:
Removed from v.80  
changed lines
  Added in v.81

  ViewVC Help
Powered by ViewVC 1.1.26