view compal/Makefile @ 119:fb1e47bebe00

tiobjd: sorted profile output
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 04 Apr 2014 05:11:32 +0000
parents 85bb35342834
children 8ed06e07b19e
line wrap: on
line source

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

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

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

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

osmovoodoo:	osmovoodoo.c
	gcc -O2 -o $@ $@.c

osmovoodoo.bin:	osmovoodoo
	./osmovoodoo

clean:
	rm -f ${GEN}