[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question
From: |
Kowalski, Dennis M |
Subject: |
Question |
Date: |
Thu, 29 Aug 2002 11:57:42 -0400 |
Hi
I am using GNU make 3.79.1 on a Sun Solaris box.
I have encountered the following situation.
I have a dot h file that has includes in it.
i.e.
a.h
#include b.h
I have a new b.h in the NODE1 include directory
The a.h and older b.h are in the NODE2 include directory
NODE1/include
b.h
NODE2/include
a.h
b.h
I use the following -I parameters
-INODE1/include -INODE2/include
The make uses the b.h that is in the NODE2/include directory with the a.h
If I copy a.h to the NODE1/include directory, the make uses the
NODE2/include/b.h
So, it looks like embedded includes do not use the -I directives if the
target .h is in the same directory as the parent.
Is this the normal operation or is it a bug that may be fixed in a newer
version?
Thanks
Dennis Kowalski
Consulting Analyst
eCommerce Solutions
NCR Corp
VP 622-1843
Phone 937-445-1843
FAX 937-445-6695
- Question,
Kowalski, Dennis M <=