annotate leo-obj/bootloader/Makefile @ 204:e9254e0234ab

dspanal/patchanal: added -v option to dump section content
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 19 Oct 2015 05:07:25 +0000
parents 4526143a77ce
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
199
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
1 OBJS= boot.obj bootloader.obj branch_in_RAM.obj cmdboot.obj command.obj \
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
2 convert.obj optboot.obj serial.obj start.obj
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
3 TARGETS=$(patsubst %.obj,%.disasm,${OBJS})
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
4 TOOL= ../tool/tiobjd
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
5
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
6 all: ${TARGETS}
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
7
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
8 %.disasm: %.obj %.hints
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
9 ${TOOL} $*.obj disasm -h $*.hints > $@
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
10
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
11 %.disasm: %.obj
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
12 ${TOOL} $*.obj disasm > $@
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
13
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
14 ${TARGETS}: ${TOOL} Makefile
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
15
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
16 clean:
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
17 rm -f *.disasm