We have to fix this!

John Hay jhay at icomtek.csir.co.za
Tue Mar 9 07:00:00 PST 2004


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 at 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 at icomtek.csir.co.za / jhay at FreeBSD.org


More information about the freebsd-arch mailing list