simplify/fix the ASM_FLAGS tests (bug 12931)

This commit is contained in:
Brian 2007-10-25 11:10:10 -06:00
parent 8f0ba02e44
commit 2c496d8e46

View file

@ -154,10 +154,10 @@ depend: $(ALL_SOURCES)
subdirs:
@ if [ `echo $(ASM_FLAGS) | grep USE_X86_ASM` ] ; then \
@ if echo $(ASM_FLAGS) | grep USE_X86_ASM ; then \
(cd x86 ; $(MAKE)) ; \
fi
@ if [ `echo $(ASM_FLAGS) | grep USE_X86_64_ASM` ] ; then \
@ if echo $(ASM_FLAGS) | grep USE_X86_64_ASM ; then \
(cd x86 ; $(MAKE)) ; \
(cd x86-64 ; $(MAKE)) ; \
fi