view leo-obj/frame_na7_db_fl/Makefile @ 155:15743b40e03a

tiobjd ctypes: print more useful hex byte offsets for struct fields
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 02 May 2014 23:41:44 +0000
parents 1cd11badf287
children
line wrap: on
line source

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}) $(patsubst %.obj,%.ctypes,${OBJS})
TOOL=	../tool/tiobjd

all:	${TARGETS}

%.disasm:	%.obj %.hints
	${TOOL} $*.obj disasm -gl -h $*.hints > $@

%.disasm:	%.obj
	${TOOL} $*.obj disasm -gl > $@

%.ctypes:	%.obj
	${TOOL} $*.obj ctypes -o > $@

${TARGETS}:	${TOOL} Makefile

clean:
	rm -f *.disasm *.ctypes