automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best & most portable way to add *paths to headers* & *libraries*???


From: Thomas Dickey
Subject: Re: Best & most portable way to add *paths to headers* & *libraries*???
Date: Fri, 18 Apr 2003 18:57:44 -0400
User-agent: Mutt/1.3.27i

On Sat, Apr 19, 2003 at 12:39:54AM +0200, Alexandre Duret-Lutz wrote:
> >>>   <address@hidden> writes:
> 
>  > If I want to add some /paths to include files/,
>  > I should just add my -I's to Makefile.am with
>  > this line right??...
> 
>  > INCLUDES=-I/path1 -I/path2 -I/path3
> 
> `automake -Wall' will tell you to prefer AM_CPPFLAGS
> 
> It's also more portable to put a space between each -I and its argument.

hmm - I can recall some old compilers for which this was not true,
and have not encountered any for which it is true (that the space
is required).  perhaps an example would help.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]