[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
nested relative path in include not handled as in other makes
From: |
Kanda Kumaravel |
Subject: |
nested relative path in include not handled as in other makes |
Date: |
Thu, 18 Jan 2001 13:21:52 +0530 |
Problem :
when the make file has a relative path like "../head1.mk" and if the
file head1.mk has another include which is relative to its own position like
"../head2.mk" then running the make on top make file reports an error like
"../head2.mk" not found.
example :
In the included gziped file, switch to test/level1/level2/ directory
and if you do a "gmake all", It reports an error that level0.mk is not
found.
The similar situation is handled by gcc properly. This can be tested
by doing a 'gcc a.c' at the above mentioned directory. relative paths have
been used in the include in the c file also.
kind regards,
Kumaravel.
PS : I refered to the gmake manual at
http://www.gnu.org/manual/make/html_node/make_toc.html
and I did not find any reference to such a situation. Incase Such a
condition was alredy handled in a different way, please update it in the
manual.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
test.tar.gz
Description: application/gzip-compressed
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- nested relative path in include not handled as in other makes,
Kanda Kumaravel <=