Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 1996 10:36:22 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        wosch@freebsd.org
Cc:        rkw@dataplex.net, steve@freefall.freebsd.org, current@freebsd.org
Subject:   Re: .depend
Message-ID:  <199610100106.KAA16289@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199610091312.PAA01354@campa.panke.de> from "Wolfram Schneider" at Oct 9, 96 03:12:55 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Wolfram Schneider stands accused of saying:
> >
> >Why change "make"? 
> 
> Because .depend is wired in make(1). There is no way
> to stop make(1) to read .depend if exists. There is no way
> to use an other depend file, e.g. `.depend.i486' or
> `.depend.hostname'.
> 
> Example
> $ mkdep				 <cpp options> <files>
> $ mkdep -f .depend.debug -DDEBUG <cpp options> <files>
> $ mkdep -f .depend.i386 -Di386   <cpp options> <files>
> 
> You can now include .depend.debug in ./Makefile, but make(1) also
> read .depend because it exists.

Irrelevant.  .depend is in the object directory, and you're not going
to use the same object directory for more than one target.

> Wolfram

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610100106.KAA16289>