annotate leo-obj/frame_na7_db_ir/Makefile @ 180:25b54c5ad6c2

calextract tool written, works
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 12 Jul 2014 00:05:22 +0000
parents 275d0f71a014
children 492a6360e64d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
141
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 OSL= os_com.obj os_drv.obj os_evt.obj os_isr.obj os_mem.obj os_mis.obj \
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 os_pro.obj os_sem.obj os_tim.obj
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 OBJS= ${OSL}
156
275d0f71a014 leo-obj: started analyzing frame_na7_db_ir objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 141
diff changeset
4 TARGETS=$(patsubst %.obj,%.disasm,${OBJS}) $(patsubst %.obj,%.ctypes,${OBJS})
141
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 TOOL= ../tool/tiobjd
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 all: ${TARGETS}
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 %.disasm: %.obj %.hints
156
275d0f71a014 leo-obj: started analyzing frame_na7_db_ir objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 141
diff changeset
10 ${TOOL} $*.obj disasm -gl -h $*.hints > $@
141
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 %.disasm: %.obj
156
275d0f71a014 leo-obj: started analyzing frame_na7_db_ir objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 141
diff changeset
13 ${TOOL} $*.obj disasm -gl > $@
275d0f71a014 leo-obj: started analyzing frame_na7_db_ir objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 141
diff changeset
14
275d0f71a014 leo-obj: started analyzing frame_na7_db_ir objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 141
diff changeset
15 %.ctypes: %.obj
275d0f71a014 leo-obj: started analyzing frame_na7_db_ir objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 141
diff changeset
16 ${TOOL} $*.obj ctypes -o > $@
141
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 ${TARGETS}: ${TOOL} Makefile
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19
db16876a2684 leo-obj: started disassembling frame_na7_db_ir
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 clean:
156
275d0f71a014 leo-obj: started analyzing frame_na7_db_ir objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 141
diff changeset
21 rm -f *.disasm *.ctypes