diff compal/Makefile @ 106:a39a38bbec4d

analysis of what osmocon's voodoo payloads disassemble to in ARM/Thumb
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 31 Mar 2014 06:33:14 +0000
parents 3bd695d9b2b4
children 85bb35342834
line wrap: on
line diff
--- a/compal/Makefile	Mon Mar 31 05:51:57 2014 +0000
+++ b/compal/Makefile	Mon Mar 31 06:33:14 2014 +0000
@@ -1,7 +1,8 @@
 C139=	c139-boot.90.04.bin
 C140=	c140-boot.bin
 GEN=	c139-boot.dis16 c139-boot.dis32 c139-boot.hex \
-	c140-boot.dis16 c140-boot.dis32 c140-boot.hex
+	c140-boot.dis16 c140-boot.dis32 c140-boot.hex \
+	osmovoodoo osmovoodoo.bin
 ARMDIS=	../arm7dis/armdis
 THUMBDIS=../arm7dis/thumbdis
 
@@ -25,5 +26,11 @@
 c140-boot.hex:	${C140}
 	hd ${C140} > $@
 
+osmovoodoo:	osmovoodoo.c
+	gcc -O2 -o $@ $@.c
+
+osmovoodoo.bin:	osmovoodoo
+	./osmovoodoo
+
 clean:
 	rm -f ${GEN}