[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: make can not find .cpp file, any general comments or suggesti ons to
From: |
Paul D. Smith |
Subject: |
RE: make can not find .cpp file, any general comments or suggesti ons to debug? |
Date: |
Thu, 4 May 2006 08:18:10 -0400 |
%% Lin George <address@hidden> writes:
lg> My question is that, what is the relationship between CXXFLAG and
lg> CPPFLAG. I have followed your method and dumped output to a file
lg> called "implicit_rule". Then I use grep to find the relationship
lg> between CXXFLAG and CPPFLAG -- they seem to be two individual
lg> variables
Yes... that's why I said:
> Actually it's not including in those variables,
lg> without any relationship.
They do have a relationship: CPPFLAGS is also present in all the command
lines where CXXFLAGS is:
lg> LINK.cc = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
lg> COMPILE.cc = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
That's why I said:
> but it's included in the rules where those variables are used.
--
-------------------------------------------------------------------------------
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