view leo-obj/bootloader/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 4526143a77ce
children
line wrap: on
line source

OBJS=	boot.obj bootloader.obj branch_in_RAM.obj cmdboot.obj command.obj \
	convert.obj optboot.obj serial.obj start.obj
TARGETS=$(patsubst %.obj,%.disasm,${OBJS})
TOOL=	../tool/tiobjd

all:	${TARGETS}

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

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

${TARGETS}:	${TOOL} Makefile

clean:
	rm -f *.disasm