comparison 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
comparison
equal deleted inserted replaced
166:861f5ca49581 167:c25367bb7656
1 CC= gcc
2 CFLAGS= -O2
3 PROG= objgrep
4 OBJS= globals.o grep.o lowlevel.o main.o mkpattern.o tables.o
5 HDRS= coffconst.h filestruct.h globals.h intstruct.h
6
7 all: ${PROG}
8
9 ${PROG}: ${OBJS}
10 ${CC} -o $@ ${OBJS}
11
12 ${OBJS}: ${HDRS}
13
14 install:
15 install -c -o bin -g bin -m 755 ${PROG} /usr/local/bin
16
17 clean:
18 rm -f *.o ${PROG} *errs