Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Oct 1996 20:15:24 -0500
From:      Steve Price <sprice@hiwaay.net>
To:        Wolfram Schneider <wosch@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: .depend
Message-ID:  <325AFCAC.538FFB68@hiwaay.net>
References:  <199610082021.WAA06329@campa.panke.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Wolfram Schneider wrote:
> 
> I think we should add an enviroment variable (e.g. DEPENDFILE) to
> make(1) for `.depend'. mkdep -f foo support different depend files.
> 
> --Wolfram Schneider <wosch@FreeBSD.org>

I don't know exactly what you are trying to do, but you can
put something like this in your Makefile:

.if exists(${DEPENDFILE})
.include <${DEPENDFILE}>
.endif

This alleviates the need to augment make(1).  Does this help?
If not, please give me a specific example of what you are
trying to do and I will see what I can do to help. :)

Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?325AFCAC.538FFB68>