/[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 87 by dpavlin, Thu Aug 2 11:08:10 2007 UTC revision 144 by dpavlin, Sun Aug 5 01:36:37 2007 UTC
# Line 6  use ExtUtils::MakeMaker; Line 6  use ExtUtils::MakeMaker;
6  my $M6502_OPTIONS = '-DEXEC6502 -DFAST_RDOP -DLSB_FIRST ';  my $M6502_OPTIONS = '-DEXEC6502 -DFAST_RDOP -DLSB_FIRST ';
7  $M6502_OPTIONS .= '-DDEBUG ';  $M6502_OPTIONS .= '-DDEBUG ';
8    
9  my $run = './t/05-M6502.t';  my $run = './t/05-M6502.t -d';
10    
11  WriteMakefile(  WriteMakefile(
12      NAME              => 'M6502',      NAME              => 'M6502',
13      VERSION_FROM      => 'M6502.pm', # finds $VERSION      VERSION_FROM      => 'M6502.pm', # finds $VERSION
14      PREREQ_PM         => {      PREREQ_PM         => {
                 'ExtUtils::Embed' => 0,  
15                  'Class::Accessor' => 0,                  'Class::Accessor' => 0,
16                  'Data::Dump' => 0,                  'Data::Dump' => 0,
17                  'Carp' => 0,                  'Carp' => 0,
18                  'Test::Exception' => 0,                  'Test::Exception' => 0,
                 'SDL' => '2.1.2',  
19          }, # e.g., Module::Name => 1.1          }, # e.g., Module::Name => 1.1
20      ($] >= 5.005 ?     ## Add these new keywords supported since 5.005      ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
21        (ABSTRACT_FROM  => 'M6502.pm', # retrieve abstract from module        (ABSTRACT_FROM  => 'M6502.pm', # retrieve abstract from module
# Line 32  WriteMakefile( Line 30  WriteMakefile(
30                  # M6502 options                  # M6502 options
31                  'cpu$(OBJ_EXT)' => qq{src/M6502.c\n\t\$(CC) \$(CCCDLFLAGS) -c -o cpu\$(OBJ_EXT) $M6502_OPTIONS src/M6502.c},                  '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' => 'html',
35  #       },          },
36  );  );
37    
38  sub MY::postamble {  sub MY::postamble {
39          return <<"MAKE_FRAG";          return <<"MAKE_FRAG";
40    
41  run:  run: all
42          perl -Mblib -MArch -le 'print Orao->new->boot;'          perl -Mblib -MOrao -le 'Orao->new->run;'
43    
44  gdb:  gdb: all
45          gdb -x run --args perl $run          gdb -x run --args perl $run
46    
47  html: all  html: all

Legend:
Removed from v.87  
changed lines
  Added in v.144

  ViewVC Help
Powered by ViewVC 1.1.26