view leo-obj/main/Makefile @ 160:db3b300da465

malware version of the C118 bootloader reversed
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 15 May 2014 08:38:42 +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