Hi Paul,

I have read through the section you recommended, but I
can not find the relationship between CXXFLAGS and
CPPFLAGS (for example, CXXFLAGS includes CPPFLAGS) --
to my surprise, instead I found that CPPFLAGS is used
for C (not C++)? Here is the original text from GNU
make manual,

--------------------
CXXFLAGS Extra flags to give to the C++ compiler.
CPPFLAGS Extra flags to give to the C preprocessor and
programs that use it (the C and
Fortran compilers).
--------------------


regards,
George

--- "Paul D. Smith" <[EMAIL PROTECTED]> wrote:

> %% Lin George <[EMAIL PROTECTED]> writes:
> 
>   >> CPPFLAGS is included in both CFLAGS and
> CXXFLAGS,
>   >> plus separating out
> 
>   lg> I can not find where in the manual it is
> mentioned
>   lg> that CPPFLAGS is included in both CLAGS and
> CXXFLAGS.
>   lg> Could you help to point it out please?
> 
> Actually it's not including in those variables, but
> it's included in the
> rules where those variables are used.
> 
> See the section "Variables Used by Implicit Rules"
> in the manual.
> 
> -- 
>
-------------------------------------------------------------------------------
>  Paul D. Smith <[EMAIL PROTECTED]>          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
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to