aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fsck_ffs/Makefile')
-rw-r--r--sbin/fsck_ffs/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/sbin/fsck_ffs/Makefile b/sbin/fsck_ffs/Makefile
index 3155b1a466ea..3e2558d2dc43 100644
--- a/sbin/fsck_ffs/Makefile
+++ b/sbin/fsck_ffs/Makefile
@@ -3,8 +3,13 @@
PROG= fsck
MAN8= fsck.8
SRCS= dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \
- pass5.c preen.c setup.c utilities.c ffs_subr.c ffs_tables.c
-CFLAGS+=-W
+ pass5.c preen.c setup.c utilities.c ffs_subr.c ffs_tables.c \
+ opt_diagnostic.h
+CFLAGS+=-W -I${.OBJDIR}
+CLEANFILES+=opt_diagnostic.h
.PATH: ${.CURDIR}/../../sys/ufs/ffs
+opt_diagnostic.h:
+ touch opt_diagnostic.h
+
.include <bsd.prog.mk>