diff --git a/sbin/ffsinfo/Makefile b/sbin/ffsinfo/Makefile index 5e6e8ed0ff77..9562f362d22b 100644 --- a/sbin/ffsinfo/Makefile +++ b/sbin/ffsinfo/Makefile @@ -6,16 +6,14 @@ MAINTAINER= tomsoft@FreeBSD.ORG, chm@FreeBSD.ORG -#CFLAGS+=${BDECFLAGS} - -PROG= ffsinfo -SRCS= ffsinfo.c debug.c -MAN= ffsinfo.8 - GROWFS= ${.CURDIR}/../growfs -CFLAGS+=-DFS_DEBUG -I${GROWFS} -WARNS= 0 +.PATH: ${GROWFS} -.PATH: ${GROWFS} +PROG= ffsinfo +SRCS= ffsinfo.c debug.c +MAN= ffsinfo.8 + +WARNS?= 0 +CFLAGS+=-DFS_DEBUG -I${GROWFS} .include diff --git a/sbin/growfs/Makefile b/sbin/growfs/Makefile index 5cb76a710930..b89c2002b2c7 100644 --- a/sbin/growfs/Makefile +++ b/sbin/growfs/Makefile @@ -7,16 +7,16 @@ MAINTAINER= tomsoft@FreeBSD.ORG, chm@FreeBSD.ORG #GFSDBG=YES -#CFLAGS+=${BDECFLAGS} PROG= growfs SRCS= growfs.c MAN= growfs.8 +WARNS?= 0 + .if defined(GFSDBG) SRCS+= debug.c CFLAGS+=-DFS_DEBUG .endif -WARNS= 0 .include