df01e6297c
removed REGEX directive
17 lines
274 B
Makefile
17 lines
274 B
Makefile
PROG= ed
|
|
CFLAGS+=-DVI_BANG
|
|
SRCS= ed.c re.c buf.c cbc.c
|
|
LINKS= ${BINDIR}/ed ${BINDIR}/red
|
|
MLINKS= ed.1 red.1
|
|
|
|
.if exists(/usr/lib/libcrypt.a)
|
|
CFLAGS+=-DDES
|
|
LDADD+= -lcrypt
|
|
DPADD+= ${LIBCRYPT}
|
|
.endif
|
|
|
|
LDADD+= -lgnuregex
|
|
DPADD+= /usr/lib/libgnuregex.a
|
|
|
|
.include <bsd.prog.mk>
|