view objgrep/Makefile @ 172:452baa748747

objgrep: -r implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 04 Jul 2014 03:22:41 +0000
parents ddbfc1a1a811
children 10c0cdc18208
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	objgrep
OBJS=	dumpmatch.o globals.o grep.o lowlevel.o main.o mkpattern.o tables.o
HDRS=	coffconst.h filestruct.h globals.h intstruct.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