%% Lin George <[EMAIL PROTECTED]> 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 <[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 _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
