--- M6502/Makefile.PL 2007/07/30 21:00:36 33 +++ M6502/Makefile.PL 2007/07/30 21:34:30 34 @@ -25,11 +25,11 @@ sub MY::postamble { return <<'MAKE_FRAG'; -emulator: $(INST_ARCHAUTODIR)/$(NAME).$(SO) config.h +emulator: $(INST_ARCHAUTODIR)/$(NAME).$(SO) config.h perl.o $(CC) -o emulator perl.o $(INST_ARCHAUTODIR)/$(NAME).$(SO) `perl -MExtUtils::Embed -e ldopts` run: emulator - ( ./emulator 2>&1 ) | head -50 + ( ./emulator 2>&1 ) | tee log | head -50 MAKE_FRAG }