diff compal/Makefile @ 98:8eaa265ee292

C139 boot re setup using the new arm7dis
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 31 Mar 2014 00:43:15 +0000
parents
children 3bd695d9b2b4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compal/Makefile	Mon Mar 31 00:43:15 2014 +0000
@@ -0,0 +1,18 @@
+C139=	c139-boot.90.04.bin
+GEN=	c139-boot.dis16 c139-boot.dis32 c139-boot.hex
+ARMDIS=	../arm7dis/armdis
+THUMBDIS=../arm7dis/thumbdis
+
+all:	${GEN}
+
+c139-boot.dis16:	${C139} ${THUMBDIS}
+	${THUMBDIS} ${C139} > $@
+
+c139-boot.dis32:	${C139} ${ARMDIS}
+	${ARMDIS} ${C139} > $@
+
+c139-boot.hex:	${C139}
+	hd ${C139} > $@
+
+clean:
+	rm -f ${GEN}