view compal/Makefile @ 105:49c7cda96f04

C139 boot ROM fully cracked
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 31 Mar 2014 05:51:57 +0000
parents 3bd695d9b2b4
children a39a38bbec4d
line wrap: on
line source

C139=	c139-boot.90.04.bin
C140=	c140-boot.bin
GEN=	c139-boot.dis16 c139-boot.dis32 c139-boot.hex \
	c140-boot.dis16 c140-boot.dis32 c140-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} > $@

c140-boot.dis16:	${C140} ${THUMBDIS}
	${THUMBDIS} ${C140} > $@

c140-boot.dis32:	${C140} ${ARMDIS}
	${ARMDIS} ${C140} > $@

c140-boot.hex:	${C140}
	hd ${C140} > $@

clean:
	rm -f ${GEN}