comparison compal/Makefile @ 108:85bb35342834

C156 boot code disassembly started
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 31 Mar 2014 16:41:21 +0000
parents a39a38bbec4d
children 8ed06e07b19e
comparison
equal deleted inserted replaced
107:c883e60df239 108:85bb35342834
1 C139= c139-boot.90.04.bin 1 C139= c139-boot.90.04.bin
2 C140= c140-boot.bin 2 C140= c140-boot.bin
3 C156= c156-boot.90.05.bin
3 GEN= c139-boot.dis16 c139-boot.dis32 c139-boot.hex \ 4 GEN= c139-boot.dis16 c139-boot.dis32 c139-boot.hex \
4 c140-boot.dis16 c140-boot.dis32 c140-boot.hex \ 5 c140-boot.dis16 c140-boot.dis32 c140-boot.hex \
6 c156-boot.dis16 c156-boot.dis32 c156-boot.hex \
5 osmovoodoo osmovoodoo.bin 7 osmovoodoo osmovoodoo.bin
6 ARMDIS= ../arm7dis/armdis 8 ARMDIS= ../arm7dis/armdis
7 THUMBDIS=../arm7dis/thumbdis 9 THUMBDIS=../arm7dis/thumbdis
8 10
9 all: ${GEN} 11 all: ${GEN}
24 ${ARMDIS} ${C140} > $@ 26 ${ARMDIS} ${C140} > $@
25 27
26 c140-boot.hex: ${C140} 28 c140-boot.hex: ${C140}
27 hd ${C140} > $@ 29 hd ${C140} > $@
28 30
31 c156-boot.dis16: ${C156} ${THUMBDIS}
32 ${THUMBDIS} ${C156} > $@
33
34 c156-boot.dis32: ${C156} ${ARMDIS}
35 ${ARMDIS} ${C156} > $@
36
37 c156-boot.hex: ${C156}
38 hd ${C156} > $@
39
29 osmovoodoo: osmovoodoo.c 40 osmovoodoo: osmovoodoo.c
30 gcc -O2 -o $@ $@.c 41 gcc -O2 -o $@ $@.c
31 42
32 osmovoodoo.bin: osmovoodoo 43 osmovoodoo.bin: osmovoodoo
33 ./osmovoodoo 44 ./osmovoodoo