date and time created 87/06/02 18:11:12 by bostic
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 3 Jun 1987 09:11:12 +0000 (01:11 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 3 Jun 1987 09:11:12 +0000 (01:11 -0800)
SCCS-vsn: usr.bin/mkdep/mkdep.1 5.1

usr/src/usr.bin/mkdep/mkdep.1 [new file with mode: 0644]

diff --git a/usr/src/usr.bin/mkdep/mkdep.1 b/usr/src/usr.bin/mkdep/mkdep.1
new file mode 100644 (file)
index 0000000..5da17af
--- /dev/null
@@ -0,0 +1,30 @@
+.\" 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)