aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mkdep
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-10-24 05:16:30 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-10-24 05:16:30 +0000
commita1a3d6f4c136ce0b7f58293622e65b4edac89c82 (patch)
tree50a4defef2536099adedfe8d3e1aef361d84fc44 /usr.bin/mkdep
parent8870ad3609e49c4614ccc66a7f006eb39b7264bb (diff)
downloadsrc-a1a3d6f4c136ce0b7f58293622e65b4edac89c82.tar.gz
src-a1a3d6f4c136ce0b7f58293622e65b4edac89c82.zip
Replace gcc reference with 'cc' and document the default ${CC}.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=289872
Diffstat (limited to 'usr.bin/mkdep')
-rw-r--r--usr.bin/mkdep/mkdep.110
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.bin/mkdep/mkdep.1 b/usr.bin/mkdep/mkdep.1
index a4be9610e2fc..9b65a9c16e5c 100644
--- a/usr.bin/mkdep/mkdep.1
+++ b/usr.bin/mkdep/mkdep.1
@@ -28,7 +28,7 @@
.\" @(#)mkdep.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd June 6, 1993
+.Dd October 23, 2015
.Dt MKDEP 1
.Os
.Sh NAME
@@ -60,11 +60,13 @@ CFLAGS is the list of flags for the C compiler.
.Pp
The user has the ability to change the preprocessor and preprocessor options
used.
-For instance, to use gcc as the preprocessor and to ignore system
+For instance, to use
+.Sy cc
+as the preprocessor and to ignore system
headers, one would use
.Bd -literal -offset indent
depend:
- env MKDEP_CPP="gcc -E" MKDEP_CPP_OPTS=-MM mkdep \\
+ env MKDEP_CPP="cc -E" MKDEP_CPP_OPTS=-MM mkdep \\
${CFLAGS} ${SRCS}
.Ed
.Pp
@@ -101,6 +103,8 @@ module.
Specifies the C compiler to use.
The specified compiler is expected to have
options consistent with the GNU C compiler.
+The default is
+.Sy cc .
.It Ev MKDEP_CPP
Specifies the preprocessor to use.
The default is "${CC} -E".