summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2008-05-06 14:27:57 -0700
committerDan Nicholson <[email protected]>2008-05-06 14:29:10 -0700
commit9f948b8c335b099b305b55a2c176841a0354cdad (patch)
tree83e3fa69a6e1ccf788d2c9bd832f034cabf4581b
parentc5e2b850ad53fcd1af62c838f8ee288e8ea9fb3d (diff)
Prevent makedepend from running multiple times
The default target in src/mesa/Makefile calls a recursive $(MAKE). With parallel jobs, this causes makedepend to run twice. Instead, block on the first make until depend has been created.
-rw-r--r--src/mesa/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 5f45db1d24d..70d31ad6c18 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -24,7 +24,7 @@ GL_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY)
# Figure out what to make here
-default:
+default: depend
@for driver in $(DRIVER_DIRS) ; do \
case "$$driver" in \
x11) $(MAKE) stand-alone ;; \