view leo-obj/main/Makefile @ 221:9f2e0c34fe33

ftmdump (C1xx factory data reverse eng) tool written
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 17 Nov 2017 19:58:07 +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