view leo-obj/main/Makefile @ 148:13cc7e19ecec

tiobjd disasm -g: support -b as well
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 29 Apr 2014 06:45:45 +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