diff options
author | Keith Whitwell <[email protected]> | 2004-04-14 10:26:47 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2004-04-14 10:26:47 +0000 |
commit | 00e01091ceeb7f2d9e81962a7e0e57077e4d37f7 (patch) | |
tree | 2b58c7dedc981a72d5686efccd3a72b58c08d159 /src/mesa/Makefile | |
parent | 3a590805d17579dc4a4744aa448208a1bb77ba0f (diff) |
Don't try to use .c=.o rule on .S files when building mesa.a
Diffstat (limited to 'src/mesa/Makefile')
-rw-r--r-- | src/mesa/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 9077418d9bd..460ac2ac76b 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 |