comparison 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
comparison
equal deleted inserted replaced
198:30ba25056ecd 199:4526143a77ce
1 OBJS= boot.obj bootloader.obj branch_in_RAM.obj cmdboot.obj command.obj \
2 convert.obj optboot.obj serial.obj start.obj
3 TARGETS=$(patsubst %.obj,%.disasm,${OBJS})
4 TOOL= ../tool/tiobjd
5
6 all: ${TARGETS}
7
8 %.disasm: %.obj %.hints
9 ${TOOL} $*.obj disasm -h $*.hints > $@
10
11 %.disasm: %.obj
12 ${TOOL} $*.obj disasm > $@
13
14 ${TARGETS}: ${TOOL} Makefile
15
16 clean:
17 rm -f *.disasm