[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: include search path doesn't include $(prefix)/include?
From: |
Paul D. Smith |
Subject: |
Re: include search path doesn't include $(prefix)/include? |
Date: |
Wed, 12 Nov 2003 15:03:29 -0500 |
%% Steve Byan <address@hidden> writes:
sb> The gnu make manual states that make will search the
sb> prefix/include directory as part of the search path for the
sb> include directive, where "prefix" is in italics. I interpreted
sb> this to mean that the value of the variable "prefix" is
sb> substituted for the italicized "prefix", and the resulting path
sb> becomes part of the search path.
No. If it meant the make variable prefix, it would have said $(prefix)
or ${prefix}.
sb> Would someone please explain what the make manual is trying to say
sb> about "prefix/include"? Thanks.
It's the value of the --prefix option that was used when GNU make was
configured and compiled. Unless you changed it, it's '/usr/local'.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist