view tool/Makefile @ 3:003df9892e57

import original TCS211 libs from Sotovik
author Space Falcon <falcon@ivan.Harhan.ORG>
date Fri, 05 Jun 2015 21:19:08 +0000
parents 058d377fc299
children 87e9f30f5f86
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	ti-libpatch
OBJS=	archive.o globals.o main.o readspec.o
HDRS=	ar.h globals.h patchinfo.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} *errs