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 $Z80_OPTIONS = '-DEXEC6502 -DFAST_RDOP -DLSB_FIRST '; |
my $Z80_OPTIONS = '-DEXECZ80 -DFAST_RDOP -DLSB_FIRST '; |
7 |
$Z80_OPTIONS .= '-DDEBUG '; |
$Z80_OPTIONS .= '-DDEBUG '; |
8 |
|
|
9 |
my $run = './t/05-Z80.t -d'; |
my $run = './t/05-Z80.t -d'; |
12 |
NAME => 'Z80', |
NAME => 'Z80', |
13 |
VERSION_FROM => 'Z80.pm', # finds $VERSION |
VERSION_FROM => 'Z80.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 => 'Z80.pm', # retrieve abstract from module |
(ABSTRACT_FROM => 'Z80.pm', # retrieve abstract from module |
39 |
return <<"MAKE_FRAG"; |
return <<"MAKE_FRAG"; |
40 |
|
|
41 |
run: all |
run: all |
42 |
perl -Mblib -MOrao -le 'Orao->new->run;' |
perl -Mblib -MGalaksija -le 'Galaksija->new->run;' |
43 |
|
|
44 |
gdb: all |
gdb: all |
45 |
gdb -x run --args perl $run |
gdb -x run --args perl $run |