FreeCalypso > hg > freecalypso-reveng
annotate leo-obj/bootloader/Makefile @ 208:f7943bdbb3ea
tiobjd disasm -g: grok struct/union/enum definitions and statics in functions
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Fri, 04 Mar 2016 23:36:16 +0000 |
parents | 4526143a77ce |
children |
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 |