view leo-obj/tpudrv/Makefile @ 246:b2002dcbad3d

pirelli/fw-disasm: l1_abb_power_on() located
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 Dec 2017 00:03:49 +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