view leo-obj/main/Makefile @ 305:da3e752cbed5

dsample-fw-disasm: tpudrv10 init code analysed
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 06 Oct 2019 01:56:38 +0000
parents 038258d5312c
children
line wrap: on
line source

TARGETS=Create_RVtasks.disasm init.disasm int.disasm main.disasm \
	mem_load.disasm sys_dummy.disasm
TOOL=	../tool/tiobjd

all:	${TARGETS}

.SUFFIXES:	.obj .disasm

.obj.disasm:
	${TOOL} $*.obj disasm > $@

Create_RVtasks.disasm:	Create_RVtasks.obj Create_RVtasks.hints
	${TOOL} $*.obj disasm -h $*.hints > $@

init.disasm:	init.obj init.hints
	${TOOL} $*.obj disasm -h $*.hints > $@

int.disasm:	int.obj int.hints
	${TOOL} $*.obj disasm -h $*.hints > $@

${TARGETS}:	${TOOL} Makefile

clean:
	rm -f *.disasm