4.3BSD-Reno/share/man/cat1/mkdep.0

Compare this file to the similar file:
Show the results in this format:

MKDEP(1)		    UNIX Reference Manual		      MKDEP(1)

NNAAMMEE
     mmkkddeepp - construct Makefile dependency list

SSYYNNOOPPSSIISS
     mmkkddeepp [--aapp] [--ff _d_e_p_e_n_d__f_i_l_e] [_f_l_a_g_s] _f_i_l_e ...

DDEESSCCRRIIPPTTIIOONN
     MMkkddeepp 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 _d_e_p_e_n_d__f_i_l_e, or ._d_e_p_e_n_d by default.  An
     example of its use in a Makefile might be:

	   CFLAGS= -O -DDEBUG -I../include -I.
	   SRCS= file1.c file2.c

	   depend:
		mkdep ${CFLAGS} ${SRCS}

     where the macro SRCS is the list of C source files and the macro CFLAGS
     is the list of flags for the C compiler.

     Options:

     --pp    mmkkddeepp produces dependencies of the form ``program: program.c'' so
	   that subsequent makes will produce _p_r_o_g_r_a_m directly from its C
	   module rather than using an intermediate ._o module.	This is useful
	   in directories that contain many programs, each of whose source is
	   contained in a single C module.

     --aa    Append to the output file, so that multiple mmkkddeepp's may be run from
	   a single Makefile.

SSEEEE AALLSSOO
     cc(1), cpp(1), make(1)

HHIISSTTOORRYY
     MMkkddeepp appeared in the 4.3 Tahoe BSD release.