summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/default4
-rw-r--r--src/glut/glx/Makefile2
-rw-r--r--src/mesa/Makefile2
3 files changed, 6 insertions, 2 deletions
diff --git a/configs/default b/configs/default
index 717b6ee388f..e38a0a09454 100644
--- a/configs/default
+++ b/configs/default
@@ -17,7 +17,11 @@ CXX = CC
CFLAGS = -O
CXXFLAGS = -O
GLU_CFLAGS =
+
+# Misc tools and flags
MKLIB_OPTIONS =
+MKDEP = makedepend
+MKDEP_OPTIONS = -Y -fdepend
# Library names (base name)
diff --git a/src/glut/glx/Makefile b/src/glut/glx/Makefile
index 83f66b0bf28..2d76fd52eb7 100644
--- a/src/glut/glx/Makefile
+++ b/src/glut/glx/Makefile
@@ -106,6 +106,6 @@ clean:
depend: $(SOURCES)
touch depend
- makedepend -fdepend -Y -I$(TOP)/include $(SOURCES)
+ $(MKDEP) $(MKDEP_OPTIONS) -I$(TOP)/include $(SOURCES)
include depend
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 1ccdf5412c3..d22701b122f 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -154,7 +154,7 @@ SUBDIRS = array_cache drivers/dri glapi main math sparc swrast swrast_setup \
# Update dependencies
depend: $(ALL_SOURCES)
touch depend
- makedepend -fdepend -Y $(INCLUDE_DIRS) $(ALL_SOURCES) >& /dev/null
+ $(MKDEP) $(MKDEP_OPTIONS) $(INCLUDE_DIRS) $(ALL_SOURCES) >& /dev/null
# Emacs tags