view leo-obj/bootloader/Makefile @ 276:85c65bc1d033

leo-obj/bootloader/Notes: bootloader blob reverse-engineered
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 21 Sep 2018 23:08:32 +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