.\" Copyright (c) 1987, 1990 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)mkdep.1 5.12 (Berkeley) %G%
.Nd construct Makefile dependency list
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 ``.depend''.
An example of its use in a Makefile might be:
where the macro SRCS is the list of C source files and the macro
CFLAGS is the list of flags for the C compiler.
The options are as follows:
Append to the output file,
may be run from a single Makefile.
Write the include file dependencies to
instead of the default ``.depend''.
to produce dependencies of the form:
so that subsequent makes will produce
directly from its C module rather than using an intermediate
This is useful for programs whose source is contained in a single
appeared in the 4.3 Tahoe BSD release.