summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fdformat/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2001-07-02 21:24:03 +0000
committerjoerg <joerg@FreeBSD.org>2001-07-02 21:24:03 +0000
commitbbe2a9958251b6354eb8a29574e5a32ee240e3cf (patch)
tree8b72958d10d845733b6dbab0ed3bf9ed9b1c6c3a /usr.sbin/fdformat/Makefile
parentdae67d677c018da01825e6b75c0d0348f1cc680d (diff)
downloadFreeBSD-src-bbe2a9958251b6354eb8a29574e5a32ee240e3cf.zip
FreeBSD-src-bbe2a9958251b6354eb8a29574e5a32ee240e3cf.tar.gz
Use the printstatus() function from ${.CURDIR}/../fdread/fdutil.c to
give a bit more information about up to 10 errors encountered during formatting (unless -q has been specified, of course). While being here, removed a bitrotten comment in the Makefile, and kill the old Emacs local variable stuff at the end of fdformat.c that's no longer useful anway.
Diffstat (limited to 'usr.sbin/fdformat/Makefile')
-rw-r--r--usr.sbin/fdformat/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/fdformat/Makefile b/usr.sbin/fdformat/Makefile
index 3c0d4ec..40683ea 100644
--- a/usr.sbin/fdformat/Makefile
+++ b/usr.sbin/fdformat/Makefile
@@ -1,10 +1,10 @@
# $FreeBSD$
+.PATH: ${.CURDIR}/../fdread
+
PROG= fdformat
+SRCS= fdformat.c fdutil.c
-# the -I's seem to be confusing, but necessery this way
-# (so the right <unistd.h> will be found in /usr/include, and the
-# "../i386/isa/ic/nec765.h" included from fdreg.h is accessible, too)
-CFLAGS+= -Wall
+CFLAGS+= -Wall -I ${.CURDIR}/../fdread
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud