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 '; |
7 |
|
$Z80_OPTIONS .= '-DDEBUG '; |
8 |
|
|
9 |
WriteMakefile( |
WriteMakefile( |
10 |
NAME => 'Vrac', |
NAME => 'VRac', |
11 |
VERSION_FROM => 'Vrac.pm', # finds $VERSION |
VERSION_FROM => 'VRac.pm', # finds $VERSION |
12 |
PREREQ_PM => { |
PREREQ_PM => { |
13 |
'Class::Accessor' => 0, |
'Class::Accessor' => 0, |
14 |
'Data::Dump' => 0, |
'Data::Dump' => 0, |
17 |
'SDL' => '2.1.2', |
'SDL' => '2.1.2', |
18 |
}, # e.g., Module::Name => 1.1 |
}, # e.g., Module::Name => 1.1 |
19 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
20 |
(ABSTRACT_FROM => 'Vrac.pm', # retrieve abstract from module |
(ABSTRACT_FROM => 'VRac.pm', # retrieve abstract from module |
21 |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
22 |
LIBS => [''], |
LIBS => [''], |
23 |
DEFINE => '', |
DEFINE => '', |
30 |
sub MY::postamble { |
sub MY::postamble { |
31 |
return <<"MAKE_FRAG"; |
return <<"MAKE_FRAG"; |
32 |
|
|
33 |
|
orao: all |
34 |
|
perl -Mblib -MOrao -le 'Orao->new->run;' |
35 |
|
|
36 |
|
galaksija: all |
37 |
|
perl -Mblib -MGalaksija -le 'Galaksija->new->run;' |
38 |
|
|
39 |
html: all |
html: all |
40 |
test -d html || mkdir html |
test -d html || mkdir html |
41 |
allpod2xhtml.pl \$(INST_LIB) html |
allpod2xhtml.pl \$(INST_LIB) html |