diff leo-obj/frame_na7_db_ir/Makefile @ 141:db16876a2684

leo-obj: started disassembling frame_na7_db_ir
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 27 Apr 2014 18:07:55 +0000
parents
children 275d0f71a014
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/leo-obj/frame_na7_db_ir/Makefile	Sun Apr 27 18:07:55 2014 +0000
@@ -0,0 +1,18 @@
+OSL=	os_com.obj os_drv.obj os_evt.obj os_isr.obj os_mem.obj os_mis.obj \
+	os_pro.obj os_sem.obj os_tim.obj
+OBJS=	${OSL}
+TARGETS=$(patsubst %.obj,%.disasm,${OBJS})
+TOOL=	../tool/tiobjd
+
+all:	${TARGETS}
+
+%.disasm:	%.obj %.hints
+	${TOOL} $*.obj disasm -h $*.hints > $@
+
+%.disasm:	%.obj
+	${TOOL} $*.obj disasm > $@
+
+${TARGETS}:	${TOOL} Makefile
+
+clean:
+	rm -f *.disasm