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 |
|
|
|
my $Z80_OPTIONS = '-DEXEC6502 -DFAST_RDOP -DLSB_FIRST '; |
|
|
$Z80_OPTIONS .= '-DDEBUG '; |
|
|
|
|
6 |
WriteMakefile( |
WriteMakefile( |
7 |
NAME => 'VRac', |
NAME => 'VRac', |
8 |
VERSION_FROM => 'VRac.pm', # finds $VERSION |
VERSION_FROM => 'VRac.pm', # finds $VERSION |
11 |
'Data::Dump' => 0, |
'Data::Dump' => 0, |
12 |
'Carp' => 0, |
'Carp' => 0, |
13 |
'Test::Exception' => 0, |
'Test::Exception' => 0, |
14 |
'SDL' => '2.1.2', |
'SDL' => 1.20, |
15 |
|
'POSIX' => 0, |
16 |
}, # e.g., Module::Name => 1.1 |
}, # e.g., Module::Name => 1.1 |
17 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
18 |
(ABSTRACT_FROM => 'VRac.pm', # retrieve abstract from module |
(ABSTRACT_FROM => 'VRac.pm', # retrieve abstract from module |
21 |
DEFINE => '', |
DEFINE => '', |
22 |
INC => '', |
INC => '', |
23 |
clean => { |
clean => { |
24 |
'FILES' => 'html', |
'FILES' => 'html docs/pod2htm?.tmp', |
25 |
}, |
}, |
26 |
); |
); |
27 |
|
|
34 |
galaksija: all |
galaksija: all |
35 |
perl -Mblib -MGalaksija -le 'Galaksija->new->run;' |
perl -Mblib -MGalaksija -le 'Galaksija->new->run;' |
36 |
|
|
37 |
|
galeb: all |
38 |
|
perl -Mblib -MGaleb -le 'Galeb->new->run;' |
39 |
|
|
40 |
html: all |
html: all |
41 |
test -d html || mkdir html |
test -d html || mkdir html |
42 |
allpod2xhtml.pl \$(INST_LIB) html |
allpod2xhtml.pl \$(INST_LIB) html |
43 |
allpod2xhtml.pl docs html |
allpod2xhtml.pl docs html |
44 |
|
cp docs/*.html html/ |
45 |
|
|
46 |
MAKE_FRAG |
MAKE_FRAG |
47 |
} |
} |