view leo-obj/l1_int/Makefile @ 405:f7df0f4d7d4f

tfo/find-is-hdr.c: print found offset in hex
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Mar 2023 05:57:23 +0000
parents d339548ebfc4
children
line wrap: on
line source

OBJS=	dl1_com.obj
TARGETS=$(patsubst %.obj,%.disasm,${OBJS}) $(patsubst %.obj,%.ctypes,${OBJS}) \
	dl1_com.symtab
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 > $@

dl1_com.symtab:	dl1_com.obj
	${TOOL} dl1_com.obj symtab > $@

${TARGETS}:	${TOOL} Makefile

clean:
	rm -f *.disasm *.ctypes *.symtab