view arm7dis/Makefile @ 265:d15f701b1434

dsample-fw-disasm: beginning to locate tpudrv10 code
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Jan 2018 08:03:03 +0000
parents fb5ea2758482
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	armdis thumbdis
ARMDIS_OBJS=	armdis.o atcommon.o common.o
THUMBDIS_OBJS=	atcommon.o common.o thumbdis.o
INSTDIR=/usr/local/bin

all:	${PROGS}

armdis:	${ARMDIS_OBJS}
	${CC} -o $@ ${ARMDIS_OBJS}

thumbdis:	${THUMBDIS_OBJS}
	${CC} -o $@ ${THUMBDIS_OBJS}

install:
	install -c -o bin -g bin -m 755 ${PROGS} ${INSTDIR}

clean:
	rm -f *.o ${PROGS} *errs