From: Dan Nicholson Date: Tue, 6 May 2008 21:27:57 +0000 (-0700) Subject: Prevent makedepend from running multiple times X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f948b8c335b099b305b55a2c176841a0354cdad;p=mesa.git 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. --- 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 ;; \