view arm7dis/Makefile @ 97:fb5ea2758482

thumbdis written, compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 30 Mar 2014 23:32:26 +0000
parents dd6c92a1aa34
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