diff options
author | Brian <[email protected]> | 2007-10-24 16:24:06 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-10-24 16:33:24 -0600 |
commit | 882ada0d22af80bbaeaae2cdac409851e92e3a56 (patch) | |
tree | 6c6806d7d1917bd91634908ac089626c3778ac93 | |
parent | 6229005f93f38c9a08027536c0bbc30a83f1f220 (diff) |
don't build x86, x86-64 dirs if not needed
-rw-r--r-- | src/mesa/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 9f3406aa800..029ba8468f4 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -154,8 +154,13 @@ depend: $(ALL_SOURCES) subdirs: - @ (cd x86 ; $(MAKE)) - @ (cd x86-64 ; $(MAKE)) + @ if [ `echo $(ASM_FLAGS) | grep USE_X86_ASM` ] ; then \ + (cd x86 ; $(MAKE)) ; \ + fi + @ if [ `echo $(ASM_FLAGS) | grep USE_X86_64_ASM` ] ; then \ + (cd x86 ; $(MAKE)) ; \ + (cd x86-64 ; $(MAKE)) ; \ + fi install: default gl.pc |