comparison 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
comparison
equal deleted inserted replaced
153:4d7f36110f1c 154:1cd11badf287
1 OSL= os_com.obj os_drv.obj os_evt.obj os_isr.obj os_mem.obj os_mis.obj \ 1 OSL= os_com.obj os_drv.obj os_evt.obj os_isr.obj os_mem.obj os_mis.obj \
2 os_pro.obj os_sem.obj os_tim.obj 2 os_pro.obj os_sem.obj os_tim.obj
3 OBJS= ${OSL} 3 OBJS= ${OSL}
4 TARGETS=$(patsubst %.obj,%.disasm,${OBJS}) 4 TARGETS=$(patsubst %.obj,%.disasm,${OBJS}) $(patsubst %.obj,%.ctypes,${OBJS})
5 TOOL= ../tool/tiobjd 5 TOOL= ../tool/tiobjd
6 6
7 all: ${TARGETS} 7 all: ${TARGETS}
8 8
9 %.disasm: %.obj %.hints 9 %.disasm: %.obj %.hints
10 ${TOOL} $*.obj disasm -gl -h $*.hints > $@ 10 ${TOOL} $*.obj disasm -gl -h $*.hints > $@
11 11
12 %.disasm: %.obj 12 %.disasm: %.obj
13 ${TOOL} $*.obj disasm -gl > $@ 13 ${TOOL} $*.obj disasm -gl > $@
14 14
15 %.ctypes: %.obj
16 ${TOOL} $*.obj ctypes > $@
17
15 ${TARGETS}: ${TOOL} Makefile 18 ${TARGETS}: ${TOOL} Makefile
16 19
17 clean: 20 clean:
18 rm -f *.disasm 21 rm -f *.disasm *.ctypes