FreeCalypso > hg > freecalypso-reveng
diff objgrep/Makefile @ 174:10c0cdc18208
objgrep-fe written, compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 04 Jul 2014 08:46:32 +0000 |
parents | ddbfc1a1a811 |
children |
line wrap: on
line diff
--- a/objgrep/Makefile Fri Jul 04 06:34:33 2014 +0000 +++ b/objgrep/Makefile Fri Jul 04 08:46:32 2014 +0000 @@ -1,18 +1,21 @@ CC= gcc CFLAGS= -O2 -PROG= objgrep +PROGS= objgrep objgrep-fe 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} +all: ${PROGS} -${PROG}: ${OBJS} +objgrep: ${OBJS} ${CC} -o $@ ${OBJS} ${OBJS}: ${HDRS} +objgrep-fe: frontend.c + ${CC} ${CFLAGS} -o $@ frontend.c + install: - install -c -o bin -g bin -m 755 ${PROG} /usr/local/bin + install -c -o bin -g bin -m 755 ${PROGS} /usr/local/bin clean: - rm -f *.o ${PROG} *errs + rm -f *.o ${PROGS} *errs