view leo-obj/osx_na7_db/Makefile @ 170:13a9ce1590fc

objgrep: parsing of -r and -s options implemented, no functionality yet
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 04 Jul 2014 02:56:21 +0000
parents 006d6de4ec6b
children
line wrap: on
line source

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