view ticoff/Makefile @ 91:daf69d5edb3f

armdis: ldr/str decoding implemented (but not PC-relative ldr yet)
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 30 Mar 2014 00:27:25 +0000
parents c20dc315a9d4
children 0f94d17899b3
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	tiobjd
OBJS=	basics.o globals.o lowlevel.o main.o reloc.o symtab.o tables.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