--- M6502/Makefile.PL 2007/07/31 21:43:57 73 +++ M6502/Makefile.PL 2007/08/01 15:34:43 80 @@ -18,10 +18,16 @@ AUTHOR => 'Dobrica Pavlinusic ') : ()), LIBS => [''], # e.g., '-lm' DEFINE => '-DEXEC6502 -DFAST_RDOP -DLSB_FIRST', # M6502 options - INC => '-I.', # e.g., '-I. -I/usr/include/other' + INC => '-I. -I./src/', # 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 + OBJECT => '$(O_FILES) cpu.o', # link all the C files too OPTIMIZE => '-g', + depend => { + 'cpu.o' => qq{src/M6502.c\n\t\$(CC) -c -o cpu.o src/M6502.c}, + }, +# clean => { +# 'FILES' => 'cpu.o', +# }, ); sub MY::postamble {