view leo-obj/l1_ext/Makefile @ 221:9f2e0c34fe33

ftmdump (C1xx factory data reverse eng) tool written
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 17 Nov 2017 19:58:07 +0000
parents a5f126973f0e
children
line wrap: on
line source

OBJS=	l1_async.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