Add CXXFLAGS to the makefile.dep creation rule to catch defines such as -DNOLUA which prevents files from trying to include the liblua includes. Suggested by Simon Zilliken

This commit is contained in:
fyodor 2008-09-13 07:16:35 +00:00
parent cdec5e8958
commit fc4424ef21

View file

@ -258,5 +258,5 @@ config.status: configure
./config.status --recheck
makefile.dep:
$(CXX) -MM $(CPPFLAGS) $(SRCS) > $@
$(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $(SRCS) > $@
include makefile.dep