view leo-obj/main/Makefile @ 235:78be85145f33

pirelli/fw-disasm: math for the IRAM code location
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 22 Dec 2017 02:58:33 +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