SCCS-vsn: usr.bin/mkdep/mkdep.1 5.7
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.\" @(#)mkdep.1 5.6 (Berkeley) %G%
+.\" @(#)mkdep.1 5.7 (Berkeley) %G%
] [
.B \-p
] [ flags ] file ...
.SH DESCRIPTION
] [
.B \-p
] [ flags ] file ...
.SH DESCRIPTION
-\fIMkdep\fP takes a set of flags for the C compiler and a list of C
-source files as arguments and constructs a set of include file dependencies.
-It attaches this dependency list to the end of the file ``Makefile''.
-An example of its use in a makefile might be:
+\fIMkdep\fP takes a set of flags for the C compiler and a list
+of C source files as arguments and constructs a set of include
+file dependencies which are written into the file \fI.depend\fP.
+An example of its use in a Makefile might be:
-CFLAGS= -O -I../include -I.
+CFLAGS= -O -DDEBUG -I../include -I.
SRCS= file1.c file2.c
depend:
SRCS= file1.c file2.c
depend:
contain many programs, each of whose source is contained in a single
C module.
.SH "SEE ALSO"
contain many programs, each of whose source is contained in a single
C module.
.SH "SEE ALSO"