10 |
'Class::Accessor' => 0, |
'Class::Accessor' => 0, |
11 |
'Data::Dump' => 0, |
'Data::Dump' => 0, |
12 |
'Carp' => 0, |
'Carp' => 0, |
13 |
|
'Test::Exception' => 0, |
14 |
|
'SDL' => '2.1.2', |
15 |
}, # e.g., Module::Name => 1.1 |
}, # e.g., Module::Name => 1.1 |
16 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
17 |
(ABSTRACT_FROM => 'M6502.pm', # retrieve abstract from module |
(ABSTRACT_FROM => 'M6502.pm', # retrieve abstract from module |
18 |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
19 |
LIBS => [''], # e.g., '-lm' |
LIBS => [''], # e.g., '-lm' |
20 |
DEFINE => '-DEXEC6502', |
DEFINE => '-DEXEC6502 -DFAST_RDOP -DLSB_FIRST', # M6502 options |
21 |
INC => '-I.', # e.g., '-I. -I/usr/include/other' |
INC => '-I. -I./src/', # e.g., '-I. -I/usr/include/other' |
22 |
# Un-comment this if you add C files to link with later: |
# Un-comment this if you add C files to link with later: |
23 |
OBJECT => '$(O_FILES)', # link all the C files too |
OBJECT => '$(O_FILES) cpu.o', # link all the C files too |
24 |
OPTIMIZE => '-g', |
OPTIMIZE => '-g', |
25 |
|
depend => { |
26 |
|
'cpu.o' => qq{src/M6502.c\n\t\$(CC) -c -o cpu.o src/M6502.c}, |
27 |
|
}, |
28 |
|
# clean => { |
29 |
|
# 'FILES' => 'cpu.o', |
30 |
|
# }, |
31 |
); |
); |
32 |
|
|
33 |
sub MY::postamble { |
sub MY::postamble { |
40 |
#( ./emulator 2>&1 ) | tee log | head -50 |
#( ./emulator 2>&1 ) | tee log | head -50 |
41 |
./emulator |
./emulator |
42 |
|
|
43 |
|
html: all |
44 |
|
test -d html || mkdir html |
45 |
|
allpod2xhtml.pl $(INST_LIB) html |
46 |
|
|
47 |
MAKE_FRAG |
MAKE_FRAG |
48 |
} |
} |
49 |
|
|