view tool/Makefile @ 1:b9fe017905f8

let's call it ti-libpatch
author Space Falcon <falcon@ivan.Harhan.ORG>
date Fri, 05 Jun 2015 01:17:39 +0000
parents 12e230d431f0
children 058d377fc299
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	ti-libpatch
OBJS=	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