view leo-obj/bootloader/Makefile @ 199:4526143a77ce

leo-obj: let's take a look at bootloader.lib
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 25 May 2015 04:50:24 +0000
parents
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