Nevermind, that didn't work. It helps if you put something like this in the main makefile so you can tell if it's working. Also, the original warnings go away if you just change from ".cpp.o:" to "%.o: %.cpp". But then again, it still doesn't work. It always uses the last definition of the .cpp.o rule or the SPECIFIC_CXXFLAGS variable.

test1_CXXFLAGS=-Itest1_dir
test2_CXXFLAGS=-Itest2_dir
libglt_a_CXXFLAGS=-Iglt_dir



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

Reply via email to