From owner-freebsd-arch@FreeBSD.ORG Tue Mar 9 07:00:00 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B0BA16A4CE; Tue, 9 Mar 2004 07:00:00 -0800 (PST) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ACD643D54; Tue, 9 Mar 2004 06:59:58 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [127.0.0.1]) i29ExtLF056343; Tue, 9 Mar 2004 16:59:55 +0200 (SAST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost)i29ExtVT056342; Tue, 9 Mar 2004 16:59:55 +0200 (SAST) (envelope-from jhay) Date: Tue, 9 Mar 2004 16:59:55 +0200 From: John Hay To: Pawel Jakub Dawidek Message-ID: <20040309145955.GA56187@zibbi.icomtek.csir.co.za> References: <20040309140543.GW10864@darkness.comp.waw.pl> <20040309141508.GX10864@darkness.comp.waw.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040309141508.GX10864@darkness.comp.waw.pl> User-Agent: Mutt/1.4.1i cc: freebsd-arch@freebsd.org Subject: Re: We have to fix this! X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 15:00:00 -0000 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 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