--- M6502/Makefile.PL 2007/07/30 23:28:25 38 +++ M6502/Makefile.PL 2007/07/31 21:43:57 73 @@ -10,12 +10,14 @@ 'Class::Accessor' => 0, 'Data::Dump' => 0, 'Carp' => 0, + 'Test::Exception' => 0, + 'SDL' => '2.1.2', }, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'M6502.pm', # retrieve abstract from module AUTHOR => 'Dobrica Pavlinusic ') : ()), LIBS => [''], # e.g., '-lm' - DEFINE => '-DEXEC6502', + DEFINE => '-DEXEC6502 -DFAST_RDOP -DLSB_FIRST', # M6502 options INC => '-I.', # e.g., '-I. -I/usr/include/other' # Un-comment this if you add C files to link with later: OBJECT => '$(O_FILES)', # link all the C files too @@ -25,11 +27,16 @@ sub MY::postamble { return <<'MAKE_FRAG'; -emulator: $(INST_ARCHAUTODIR)/$(NAME).$(SO) config.h perl.o +emulator: $(INST_ARCHAUTODIR)/$(NAME).$(SO) config.h perl.c $(CC) -o emulator perl.o $(INST_ARCHAUTODIR)/$(NAME).$(SO) `perl -MExtUtils::Embed -e ldopts` run: emulator - ( ./emulator 2>&1 ) | tee log | head -50 + #( ./emulator 2>&1 ) | tee log | head -50 + ./emulator + +html: all + test -d html || mkdir html + allpod2xhtml.pl $(INST_LIB) html MAKE_FRAG }