--- M6502/Makefile.PL 2007/07/30 18:37:37 32 +++ M6502/Makefile.PL 2007/07/30 21:00:36 33 @@ -19,16 +19,17 @@ 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 + OPTIMIZE => '-g', ); sub MY::postamble { return <<'MAKE_FRAG'; -emulator: $(INST_ARCHAUTODIR)/$(NAME).$(SO) +emulator: $(INST_ARCHAUTODIR)/$(NAME).$(SO) config.h $(CC) -o emulator perl.o $(INST_ARCHAUTODIR)/$(NAME).$(SO) `perl -MExtUtils::Embed -e ldopts` run: emulator - ( ./emulator 2>&1 ) | head -30 + ( ./emulator 2>&1 ) | head -50 MAKE_FRAG }