FreeCalypso > hg > freecalypso-reveng
annotate leo-obj/osx_na7_db/Makefile @ 207:d12a3207b1aa
D-Sample 20020917 firmware analysis
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Fri, 01 Jan 2016 23:24:05 +0000 |
parents | 006d6de4ec6b |
children |
rev | line source |
---|---|
165
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 OBJS= osx.obj |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 TARGETS=$(patsubst %.obj,%.disasm,${OBJS}) $(patsubst %.obj,%.ctypes,${OBJS}) |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 TOOL= ../tool/tiobjd |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 all: ${TARGETS} |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 %.disasm: %.obj %.hints |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 ${TOOL} $*.obj disasm -gl -h $*.hints > $@ |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 %.disasm: %.obj |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 ${TOOL} $*.obj disasm -gl > $@ |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 %.ctypes: %.obj |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 ${TOOL} $*.obj ctypes -o > $@ |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 ${TARGETS}: ${TOOL} Makefile |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 clean: |
006d6de4ec6b
leo-obj: starting to look at OSX
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 rm -f *.disasm *.ctypes |