1.\" Copyright (c) 1987, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)mkdep.1 8.1 (Berkeley) 6/6/93 |
33.\" $FreeBSD: head/usr.bin/mkdep/mkdep.1 95124 2002-04-20 12:18:28Z charnier $ |
34.\" 35.Dd June 6, 1993 36.Dt MKDEP 1 37.Os 38.Sh NAME 39.Nm mkdep 40.Nd construct Makefile dependency list 41.Sh SYNOPSIS 42.Nm 43.Op Fl ap 44.Op Fl f Ar file 45.Op Ar flags 46.Ar 47.Sh DESCRIPTION |
48The 49.Nm 50utility takes a set of flags for the C compiler and a list |
51of C source files as arguments and constructs a set of include 52file dependencies which are written into the file ``.depend''. 53An example of its use in a Makefile might be: 54.Bd -literal -offset indent 55CFLAGS= -O -I../include 56SRCS= file1.c file2.c 57 58depend: --- 67 unchanged lines hidden --- |