diff options
author | Your Name <you@example.com> | 2019-07-18 12:13:17 +0100 |
---|---|---|
committer | Your Name <you@example.com> | 2019-07-18 12:13:17 +0100 |
commit | 9b5367618ae9d3fbae4b00264ab24dbaa03613b1 (patch) | |
tree | 84ae61afcc5008d6df964921aabf8c55ca1800cd /sha1/Makefile | |
parent | bb787b60b3e7aacb90cf43ba70102e0460f90b67 (diff) | |
download | wristapps-9b5367618ae9d3fbae4b00264ab24dbaa03613b1.tar.gz wristapps-9b5367618ae9d3fbae4b00264ab24dbaa03613b1.tar.bz2 wristapps-9b5367618ae9d3fbae4b00264ab24dbaa03613b1.zip |
debug improvements
Diffstat (limited to 'sha1/Makefile')
-rw-r--r-- | sha1/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
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} |