view leo-obj/tool/Makefile @ 208:f7943bdbb3ea

tiobjd disasm -g: grok struct/union/enum definitions and statics in functions
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Fri, 04 Mar 2016 23:36:16 +0000
parents 069b79b36228
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	tiobjd
OBJS=	armdis.o atcommon.o basics.o chararray.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