view objgrep/Makefile @ 167:c25367bb7656

objgrep: written, compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 04 Jul 2014 00:54:33 +0000
parents
children ddbfc1a1a811
line wrap: on
line source

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