view leo-obj/tpudrv/Makefile @ 207:d12a3207b1aa

D-Sample 20020917 firmware analysis
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Fri, 01 Jan 2016 23:24:05 +0000
parents a820d9f9adbf
children
line wrap: on
line source

OBJS=	p_tpudr12.obj tpudrv.obj tpudrv12.obj
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