annotate leo-obj/bootloader/Makefile @ 221:9f2e0c34fe33

ftmdump (C1xx factory data reverse eng) tool written
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 17 Nov 2017 19:58:07 +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