view objgrep/Makefile @ 171:ddbfc1a1a811

objgrep: -s implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 04 Jul 2014 03:07:09 +0000
parents c25367bb7656
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