From 9b5367618ae9d3fbae4b00264ab24dbaa03613b1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 18 Jul 2019 12:13:17 +0100 Subject: debug improvements --- sha1/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sha1/Makefile') diff --git a/sha1/Makefile b/sha1/Makefile index b2635cc..52805c3 100644 --- a/sha1/Makefile +++ b/sha1/Makefile @@ -14,6 +14,8 @@ AFLAGS=-i ../include/dl150 -cpu datalink AS=${CROSS}asl ${AFLAGS} P2BIN=${CROSS}p2bin +EMUL=../../sim68xx/src/boards/sim6805 + default:${APP} ${LSTS} ${S19} .PRECIOUS:${APP} ${LSTS} @@ -30,10 +32,16 @@ default:${APP} ${LSTS} ${S19} ${P2BIN} $< $@ -r 0x110-\$$ %.lst %.p:%.asm - ${AS} -L ${@:%.p=%.lst} -o $@ $< + ${AS} -g -L ${@:%.p=%.lst} -o $@ $< + ${CROSS}/process_map ${@:%.p=%.map} + + %.l:%.lst awk '{ if (($$1!="(1)") && ($$1!=" ") && NF) { print }}' < $< > $@ || /bin/rm -f $@ +do_test: ${PROG}.srec + ${EMUL} $< < emul.script + clean: /bin/rm -f ${APP} ${PS} ${LSTS} ${RLSTS} ${S19} -- cgit v1.2.3