diff --git a/src/mesa/drivers/dri/dri_client/Makefile b/src/mesa/drivers/dri/dri_client/Makefile index 6fcfab7ec9c..4f90cbfd461 100644 --- a/src/mesa/drivers/dri/dri_client/Makefile +++ b/src/mesa/drivers/dri/dri_client/Makefile @@ -42,7 +42,7 @@ default: depend dri.a # what's included by any source file. depend: $(C_SOURCES) $(ASM_SOURCES) touch depend - makedepend -fdepend -Y $(INCLUDES) \ + $(MKDEP) $(MKDEP_OPTIONS) -Y $(INCLUDES) \ $(C_SOURCES) $(ASM_SOURCES) >& /dev/null