view leo-obj/frame_na7_db_ir/Makefile @ 180:25b54c5ad6c2

calextract tool written, works
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 12 Jul 2014 00:05:22 +0000
parents 275d0f71a014
children 492a6360e64d
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