don't build x86, x86-64 dirs if not needed

This commit is contained in:
Brian 2007-10-24 16:24:06 -06:00
parent 55d4f32fc2
commit 26479fa3b3

View file

@ -153,8 +153,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