From 9f948b8c335b099b305b55a2c176841a0354cdad Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Tue, 6 May 2008 14:27:57 -0700 Subject: [PATCH] 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. --- src/mesa/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;; \ -- 2.30.2