view ticoff/Makefile @ 111:0f94d17899b3

tiobjd: disassembly integrated, no relocs or hints yet
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 03 Apr 2014 05:14:15 +0000
parents c20dc315a9d4
children fb1e47bebe00
line wrap: on
line source

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