mesa: Include C++ files in the makedepend of DRI drivers.

This commit is contained in:
Eric Anholt 2010-11-19 17:19:38 +08:00
parent a172368ef1
commit 6b1d7dd781
1 changed files with 3 additions and 2 deletions

View File

@ -86,11 +86,12 @@ subdirs:
symlinks:
depend: $(C_SOURCES) $(ASM_SOURCES) $(SYMLINKS)
depend: $(C_SOURCES) $(CXX_SOURCES) $(ASM_SOURCES) $(SYMLINKS)
@ echo "running $(MKDEP)"
@ rm -f depend
@ touch depend
@ $(MKDEP) $(MKDEP_OPTIONS) $(DRIVER_DEFINES) $(INCLUDES) $(C_SOURCES) \
@ $(MKDEP) $(MKDEP_OPTIONS) $(DRIVER_DEFINES) $(INCLUDES) \
$(C_SOURCES) $(CXX_SOURCES) \
$(ASM_SOURCES) > /dev/null 2>/dev/null