view tool/Makefile @ 18:94999935b791 default tip

main-rvtmodem.patch created
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 01 Nov 2015 06:40:12 +0000
parents 87e9f30f5f86
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	ti-libpatch
OBJS=	archive.o coff.o globals.o main.o patchhook.o readspec.o
HDRS=	ar.h coffstruct.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