f72efb7f74
Although argc and argv are never read after the longjmp is complete, gcc is not clever enough to see that and needlessly warns about it. So add volatile to silence the compiler. Approved by: ed (the co-mentor, not ed(1))
19 lines
297 B
Makefile
19 lines
297 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= ed
|
|
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
|
|
LINKS= ${BINDIR}/ed ${BINDIR}/red
|
|
MLINKS= ed.1 red.1
|
|
|
|
.if !defined(RELEASE_CRUNCH)
|
|
.if ${MK_OPENSSL} != "no"
|
|
CFLAGS+=-DDES
|
|
DPADD= ${LIBCRYPTO}
|
|
LDADD= -lcrypto
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|