changeset 154:1cd11badf287

leo-obj/frame_na7_db_fl: extract ctypes info as well
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 02 May 2014 06:20:26 +0000
parents 4d7f36110f1c
children 15743b40e03a
files .hgignore leo-obj/frame_na7_db_fl/Makefile
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Fri May 02 04:12:14 2014 +0000
+++ b/.hgignore	Fri May 02 06:20:26 2014 +0000
@@ -10,6 +10,7 @@
 ^compal/c156-boot\.
 ^compal/osmovoodoo
 
+^leo-obj/.*\.ctypes$
 ^leo-obj/.*\.disasm$
 ^leo-obj/tool/tiobjd$
 
--- a/leo-obj/frame_na7_db_fl/Makefile	Fri May 02 04:12:14 2014 +0000
+++ b/leo-obj/frame_na7_db_fl/Makefile	Fri May 02 06:20:26 2014 +0000
@@ -1,7 +1,7 @@
 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})
+TARGETS=$(patsubst %.obj,%.disasm,${OBJS}) $(patsubst %.obj,%.ctypes,${OBJS})
 TOOL=	../tool/tiobjd
 
 all:	${TARGETS}
@@ -12,7 +12,10 @@
 %.disasm:	%.obj
 	${TOOL} $*.obj disasm -gl > $@
 
+%.ctypes:	%.obj
+	${TOOL} $*.obj ctypes > $@
+
 ${TARGETS}:	${TOOL} Makefile
 
 clean:
-	rm -f *.disasm
+	rm -f *.disasm *.ctypes