view leo-obj/tool/Makefile @ 166:861f5ca49581

leo-obj/osx_na7_db/osx.hints: created
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 30 Jun 2014 18:00:09 +0000
parents fd772de226cb
children 069b79b36228
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	tiobjd
OBJS=	armdis.o atcommon.o basics.o disasm.o globals.o hints.o ln.o lowlevel.o\
	main.o profile.o reloc.o richsym.o symtab.o tables.o thumbdis.o
HDRS=	coffconst.h filestruct.h globals.h intstruct.h

all:	${PROG}

${PROG}: ${OBJS}
	${CC} -o $@ ${OBJS}

${OBJS}: ${HDRS}

install:
	install -c -o bin -g bin -m 755 ${PROG} /usr/local/bin

clean:
	rm -f *.o ${PROG} *err