/[VRac]/M6502/Makefile.PL
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /M6502/Makefile.PL

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 29 by dpavlin, Mon Jul 30 17:32:41 2007 UTC revision 42 by dpavlin, Tue Jul 31 09:37:01 2007 UTC
# Line 15  WriteMakefile( Line 15  WriteMakefile(
15        (ABSTRACT_FROM  => 'M6502.pm', # retrieve abstract from module        (ABSTRACT_FROM  => 'M6502.pm', # retrieve abstract from module
16         AUTHOR         => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),         AUTHOR         => 'Dobrica Pavlinusic <dpavlin@rot13.org>') : ()),
17      LIBS              => [''], # e.g., '-lm'      LIBS              => [''], # e.g., '-lm'
18      DEFINE            => '', # e.g., '-DHAVE_SOMETHING'      DEFINE            => '-DEXEC6502',
19      INC               => '-I.', # e.g., '-I. -I/usr/include/other'      INC               => '-I.', # e.g., '-I. -I/usr/include/other'
20          # Un-comment this if you add C files to link with later:          # Un-comment this if you add C files to link with later:
21      OBJECT            => '$(O_FILES)', # link all the C files too      OBJECT            => '$(O_FILES)', # link all the C files too
22            OPTIMIZE => '-g',
23  );  );
24    
25  sub MY::postamble {  sub MY::postamble {
26          return <<'MAKE_FRAG';          return <<'MAKE_FRAG';
27    
28  orao: $(INST_ARCHAUTODIR)/$(NAME).$(SO)  emulator: $(INST_ARCHAUTODIR)/$(NAME).$(SO) config.h perl.c
29          $(CC) -o orao perl.o $(INST_ARCHAUTODIR)/$(NAME).$(SO) `perl -MExtUtils::Embed -e ldopts`          $(CC) -o emulator perl.o $(INST_ARCHAUTODIR)/$(NAME).$(SO) `perl -MExtUtils::Embed -e ldopts`
30    
31  run: orao  run: emulator
32          ( ./orao 2>&1 ) | head -30          ( ./emulator 2>&1 ) | tee log | head -50
33    
34  MAKE_FRAG  MAKE_FRAG
35  }  }

Legend:
Removed from v.29  
changed lines
  Added in v.42

  ViewVC Help
Powered by ViewVC 1.1.26