22 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
($] >= 5.005 ? ## Add these new keywords supported since 5.005 |
23 |
(ABSTRACT_FROM => 'M6502.pm', # retrieve abstract from module |
(ABSTRACT_FROM => 'M6502.pm', # retrieve abstract from module |
24 |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
AUTHOR => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()), |
25 |
LIBS => [''], # e.g., '-lm' |
LIBS => ['-lSDL_Perl'], # e.g., '-lm' |
26 |
DEFINE => '', |
DEFINE => '', |
27 |
INC => '-I. -I./src/', # e.g., '-I. -I/usr/include/other' |
INC => '-I. -I./src/', # e.g., '-I. -I/usr/include/other' |
28 |
# Un-comment this if you add C files to link with later: |
# Un-comment this if you add C files to link with later: |
32 |
# M6502 options |
# M6502 options |
33 |
'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}, |
34 |
}, |
}, |
35 |
# clean => { |
clean => { |
36 |
# 'FILES' => 'cpu.o', |
'FILES' => 'html', |
37 |
# }, |
}, |
38 |
); |
); |
39 |
|
|
40 |
sub MY::postamble { |
sub MY::postamble { |
41 |
return <<"MAKE_FRAG"; |
return <<"MAKE_FRAG"; |
42 |
|
|
43 |
run: all |
run: all |
44 |
perl -Mblib -MArch -le 'print Orao->new->boot;' |
perl -Mblib -MOrao -le 'print Orao->new->boot;' |
45 |
|
|
46 |
gdb: all |
gdb: all |
47 |
gdb -x run --args perl $run |
gdb -x run --args perl $run |