summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index a301625179..5f84f72bb2 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -29,17 +29,17 @@ default: depend asm_subdirs libmesa.a libglapi.a driver_subdirs
# Helper libraries used by many drivers:
# Make archive of core mesa object files
-libmesa.a: $(MESA_OBJECTS)
+libmesa.a: $(MESA_OBJECTS) asm_subdirs
@ $(TOP)/bin/mklib -o mesa -static $(MESA_OBJECTS)
# Make archive of gl* API dispatcher functions only
-libglapi.a: $(GLAPI_OBJECTS)
+libglapi.a: $(GLAPI_OBJECTS) asm_subdirs
@ $(TOP)/bin/mklib -o glapi -static $(GLAPI_OBJECTS)
######################################################################
# Device drivers
-driver_subdirs:
+driver_subdirs: libmesa.a libglapi.a
(cd drivers && $(MAKE))