view objgrep/Makefile @ 173:77cd647375e5

objgrep -r: dump symbols in other sections recovered through relocs
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 04 Jul 2014 06:34:33 +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