view compal/boot/Makefile @ 407:183e81c8f6c0

hr-bits: sid-count program written
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Jul 2024 10:00:58 +0000
parents 81cda18b0487
children
line wrap: on
line source

C118=	c118-3.0.81.E-boot.bin
C118DF=	c118-2.2.84.N-boot.bin
C123=	c123-boot.bin
C123NEW=c123-newboot.bin
C139=	c139-boot.90.04.bin
C139NEW=c139-boot1004.bin
C139TF=	c139-tfboot.bin
C140=	c140-boot.bin
C156=	c156-boot.90.05.bin
GEN=	c118-newboot.dis16 c118-newboot.dis32 c118-newboot.hex \
	c118-dfboot.dis16 c118-dfboot.dis32 c118-dfboot.hex \
	c123-boot.dis16 c123-boot.dis32 c123-boot.hex \
	c123-newboot.dis16 c123-newboot.dis32 c123-newboot.hex \
	c139-boot.dis16 c139-boot.dis32 c139-boot.hex \
	c139-newboot.dis16 c139-newboot.dis32 c139-newboot.hex \
	c139-tfboot.dis16 c139-tfboot.dis32 c139-tfboot.hex \
	c140-boot.dis16 c140-boot.dis32 c140-boot.hex \
	c156-boot.dis16 c156-boot.dis32 c156-boot.hex
ARMDIS=	../../arm7dis/armdis
THUMBDIS=../../arm7dis/thumbdis

all:	${GEN}

c118-dfboot.dis16:	${C118DF} ${THUMBDIS}
	${THUMBDIS} ${C118DF} > $@

c118-dfboot.dis32:	${C118DF} ${ARMDIS}
	${ARMDIS} ${C118DF} > $@

c118-dfboot.hex:	${C118DF}
	hd ${C118DF} > $@

c118-newboot.dis16:	${C118} ${THUMBDIS}
	${THUMBDIS} ${C118} > $@

c118-newboot.dis32:	${C118} ${ARMDIS}
	${ARMDIS} ${C118} > $@

c118-newboot.hex:	${C118}
	hd ${C118} > $@

c123-boot.dis16:	${C123} ${THUMBDIS}
	${THUMBDIS} ${C123} > $@

c123-boot.dis32:	${C123} ${ARMDIS}
	${ARMDIS} ${C123} > $@

c123-boot.hex:	${C123}
	hd ${C123} > $@

c123-newboot.dis16:	${C123NEW} ${THUMBDIS}
	${THUMBDIS} ${C123NEW} > $@

c123-newboot.dis32:	${C123NEW} ${ARMDIS}
	${ARMDIS} ${C123NEW} > $@

c123-newboot.hex:	${C123NEW}
	hd ${C123NEW} > $@

c139-boot.dis16:	${C139} ${THUMBDIS}
	${THUMBDIS} ${C139} > $@

c139-boot.dis32:	${C139} ${ARMDIS}
	${ARMDIS} ${C139} > $@

c139-boot.hex:	${C139}
	hd ${C139} > $@

c139-newboot.dis16:	${C139NEW} ${THUMBDIS}
	${THUMBDIS} ${C139NEW} > $@

c139-newboot.dis32:	${C139NEW} ${ARMDIS}
	${ARMDIS} ${C139NEW} > $@

c139-newboot.hex:	${C139NEW}
	hd ${C139NEW} > $@

c139-tfboot.dis16:	${C139TF} ${THUMBDIS}
	${THUMBDIS} ${C139TF} > $@

c139-tfboot.dis32:	${C139TF} ${ARMDIS}
	${ARMDIS} ${C139TF} > $@

c139-tfboot.hex:	${C139TF}
	hd ${C139TF} > $@

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

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

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

c156-boot.dis16:	${C156} ${THUMBDIS}
	${THUMBDIS} ${C156} > $@

c156-boot.dis32:	${C156} ${ARMDIS}
	${ARMDIS} ${C156} > $@

c156-boot.hex:	${C156}
	hd ${C156} > $@

clean:
	rm -f ${GEN}