From 00e01091ceeb7f2d9e81962a7e0e57077e4d37f7 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 14 Apr 2004 10:26:47 +0000 Subject: Don't try to use .c=.o rule on .S files when building mesa.a --- src/mesa/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/mesa/Makefile') diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 9077418d9b..460ac2ac76 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -32,7 +32,7 @@ default: ###################################################################### # Linux solo DRI drivers -SOLO_SOURCES = \ +SOLO_C_SOURCES = \ $(MAIN_SOURCES) \ $(MATH_SOURCES) \ $(ARRAY_CACHE_SOURCES) \ @@ -40,10 +40,10 @@ SOLO_SOURCES = \ $(SWRAST_SOURCES) \ $(SWRAST_SETUP_SOURCES) \ $(SHADER_SOURCES) \ - $(ASM_C_SOURCES) \ - $(X86_SOURCES) + $(ASM_C_SOURCES) -SOLO_OBJECTS = $(SOLO_SOURCES:.c=.o) +SOLO_OBJECTS = $(SOLO_C_SOURCES:.c=.o) \ + $(ASM_SOURCES:.S=.o) linux-solo: depend mesa.a driver-dirs @@ -54,6 +54,9 @@ mesa.a: $(SOLO_OBJECTS) ar rcv $@ $(SOLO_OBJECTS) ranlib $@ +# note: cannot use the name of the directory ("drivers") as the +# target, otherwise make will look & see that the "drivers" directory +# already exists, so not try to rebuild it... driver-dirs: cd drivers/dri ; make -- cgit v1.2.3