view leo-obj/bootloader/Makefile @ 233:4cd01d1458df

pirelli/fw-disasm: main and init modules located
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 21 Dec 2017 23:12:46 +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