annotate leo-obj/bootloader/Makefile @ 375:6057c98d11a9

pirelli/audio-modes capture
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 31 Jul 2021 10:18:34 +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