diff leo-obj/frame_na7_db_fl/Makefile @ 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
line wrap: on
line diff
--- 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