summaryrefslogtreecommitdiffstats
path: root/usr.bin/awk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/awk/Makefile')
-rw-r--r--usr.bin/awk/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index 7ec2e57..6538636 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -8,6 +8,8 @@ SRCS= awkgram.y b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c ytab.h
CFLAGS+= -DHAS_ISBLANK -I. -I${AWKSRC} -DFOPEN_MAX=64
+WARNS?= 1
+
DPADD= ${LIBM}
LDADD= -lm
@@ -25,10 +27,4 @@ proctab.c: maketab
build-tools: maketab
maketab: ytab.h ${AWKSRC}/maketab.c
-.for f in b.c main.c run.c
-${f}: ${AWKSRC}/${f} ${.CURDIR}/${f}.diff
- patch -s -b .orig -o ${.TARGET} < ${.CURDIR}/${f}.diff ${AWKSRC}/${f}
-CLEANFILES+= ${f}
-.endfor
-
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud