view leo-obj/tool/Makefile @ 140:21fda9752bd9

OSL flash objects: created disasm hints for os_com through os_mis
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 09 Apr 2014 02:40:20 +0000
parents 87b82398a08b
children fbdb7686a9e9
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	tiobjd
OBJS=	armdis.o atcommon.o basics.o disasm.o globals.o hints.o lowlevel.o \
	main.o profile.o reloc.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