+.\" Copyright (c) 1987 Regents of the University of California.
+.\" All rights reserved. The Berkeley software License Agreement
+.\" specifies the terms and conditions for redistribution.
+.\"
+.\" @(#)mkdep.1 5.1 (Berkeley) %G%
+.\"
+.TH MKDEP 1 ""
+.UC 5
+.SH NAME
+mkdep \- construct Makefile dependency list
+.SH SYNOPSIS
+.B mkdep
+flags file ...
+.SH DESCRIPTION
+\fIMkdep\fP takes a set of flags for the C compiler and a list of C
+sources as arguments and constructs a set of include file dependencies.
+It attaches this dependency list to the end of the file \fIMakefile\fP.
+An example of its use in a Makefile might be:
+.nf
+
+CFLAGS= -I../include -I.
+SRCS= file1.c file2.c
+
+depend:
+ mkdep ${CFLAGS} ${SRCS}
+.PP
+where the macro SRCS is the list of C source files and the macro
+CFLAGS is the list of flags for the C compiler.
+.SH "SEE ALSO"
+cc(1), make(1)