view leo-obj/bootloader/Makefile @ 405:f7df0f4d7d4f

tfo/find-is-hdr.c: print found offset in hex
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Mar 2023 05:57:23 +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