Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 16:59:55 +0200
From:      John Hay <jhay@icomtek.csir.co.za>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: We have to fix this!
Message-ID:  <20040309145955.GA56187@zibbi.icomtek.csir.co.za>
In-Reply-To: <20040309141508.GX10864@darkness.comp.waw.pl>
References:  <20040309140543.GW10864@darkness.comp.waw.pl> <xzpu10y861b.fsf@dwp.des.no> <20040309141508.GX10864@darkness.comp.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, Mar 09, 2004 at 03:15:08PM +0100, Pawel Jakub Dawidek wrote:
> On Tue, Mar 09, 2004 at 03:10:56PM +0100, Dag-Erling Sm?rgrav wrote:
> +> Pawel Jakub Dawidek <pjd@FreeBSD.org> writes:
> +> > it is really irritating that connecting files from other directory
> +> > is not possible.
> +> 
> +> It is; you're just not doing it right.  If it weren't possible, none
> +> of the stuff in src/contrib and src/crypto would ever get built.
> +> 
> +> (hint: .PATH)
> 
> Sorry, I'm aware of .PATH, but try to do something like:
> 
> SRCS=file1.c ../file2.c

What about using ${.CURDIR} ? eg. SRCS=file1.c ${.CURDIR}/../file2.c

John
-- 
John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org



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