view leo-obj/tool/Makefile @ 197:cf3b4cb3d212

bootrom.notes typo fix (courtesy of pfalcon <pmiscml@gmail.com>)
author Michael Spacefalcon <falcon@ivan.Harhan.ORG>
date Thu, 16 Apr 2015 04:12:48 +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