view leo-obj/l1_custom_ext/Makefile @ 287:5259ce993e87

compal/c156-fw-disasm: got to Init_Target()
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 23 Mar 2019 05:11:09 +0000
parents 4b97cf9a90f0
children
line wrap: on
line source

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