FreeCalypso > hg > freecalypso-reveng
annotate leo-obj/frame_na7_db_fl/Makefile @ 171:ddbfc1a1a811
objgrep: -s implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 04 Jul 2014 03:07:09 +0000 |
parents | 15743b40e03a |
children |
rev | line source |
---|---|
140
21fda9752bd9
OSL flash objects: created disasm hints for os_com through os_mis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
138
diff
changeset
|
1 OSL= os_com.obj os_drv.obj os_evt.obj os_isr.obj os_mem.obj os_mis.obj \ |
21fda9752bd9
OSL flash objects: created disasm hints for os_com through os_mis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
138
diff
changeset
|
2 os_pro.obj os_sem.obj os_tim.obj |
21fda9752bd9
OSL flash objects: created disasm hints for os_com through os_mis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
138
diff
changeset
|
3 OBJS= ${OSL} |
154
1cd11badf287
leo-obj/frame_na7_db_fl: extract ctypes info as well
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
153
diff
changeset
|
4 TARGETS=$(patsubst %.obj,%.disasm,${OBJS}) $(patsubst %.obj,%.ctypes,${OBJS}) |
138
8754c410c10d
leo-obj: starting to examine GPF OSL objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 TOOL= ../tool/tiobjd |
8754c410c10d
leo-obj: starting to examine GPF OSL objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
8754c410c10d
leo-obj: starting to examine GPF OSL objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 all: ${TARGETS} |
8754c410c10d
leo-obj: starting to examine GPF OSL objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
140
21fda9752bd9
OSL flash objects: created disasm hints for os_com through os_mis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
138
diff
changeset
|
9 %.disasm: %.obj %.hints |
153
4d7f36110f1c
leo-obj: frame_na7_db_fl/os_pro.obj disassembles the way it should
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
140
diff
changeset
|
10 ${TOOL} $*.obj disasm -gl -h $*.hints > $@ |
138
8754c410c10d
leo-obj: starting to examine GPF OSL objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 |
140
21fda9752bd9
OSL flash objects: created disasm hints for os_com through os_mis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
138
diff
changeset
|
12 %.disasm: %.obj |
153
4d7f36110f1c
leo-obj: frame_na7_db_fl/os_pro.obj disassembles the way it should
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
140
diff
changeset
|
13 ${TOOL} $*.obj disasm -gl > $@ |
138
8754c410c10d
leo-obj: starting to examine GPF OSL objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 |
154
1cd11badf287
leo-obj/frame_na7_db_fl: extract ctypes info as well
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
153
diff
changeset
|
15 %.ctypes: %.obj |
155
15743b40e03a
tiobjd ctypes: print more useful hex byte offsets for struct fields
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
154
diff
changeset
|
16 ${TOOL} $*.obj ctypes -o > $@ |
154
1cd11badf287
leo-obj/frame_na7_db_fl: extract ctypes info as well
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
153
diff
changeset
|
17 |
138
8754c410c10d
leo-obj: starting to examine GPF OSL objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 ${TARGETS}: ${TOOL} Makefile |
8754c410c10d
leo-obj: starting to examine GPF OSL objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 |
8754c410c10d
leo-obj: starting to examine GPF OSL objects
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 clean: |
154
1cd11badf287
leo-obj/frame_na7_db_fl: extract ctypes info as well
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
153
diff
changeset
|
21 rm -f *.disasm *.ctypes |