diff --git a/usr.sbin/fdformat/Makefile b/usr.sbin/fdformat/Makefile index 40683ea9bd3d..09e02248ebbf 100644 --- a/usr.sbin/fdformat/Makefile +++ b/usr.sbin/fdformat/Makefile @@ -4,7 +4,8 @@ PROG= fdformat SRCS= fdformat.c fdutil.c +CFLAGS= -I${.CURDIR}/../fdread -CFLAGS+= -Wall -I ${.CURDIR}/../fdread +WARNS?= 1 .include