We have to fix this!
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Mar 9 07:04:30 PST 2004
On Tue, Mar 09, 2004 at 04:59:55PM +0200, John Hay wrote:
+> > 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
I don't understand how this can help.
The problem is that cc is looking for file2.o in "../" (or in
"${.CURDIR}/../" in you proposal) directory, but it is not created
there, it is created in current directory.
Anyway, I gave example how to reproduce it, so you're welcome to try.
--
Pawel Jakub Dawidek http://www.FreeBSD.org
pjd at FreeBSD.org http://garage.freebsd.pl
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20040309/04234ff4/attachment.bin
More information about the freebsd-arch
mailing list