> if [ "$CARCH" == "i686" ]; then
>  make -f make_whatever
> else
>  make -f make_else
> fi

My preferred method is below, so that it will work correctly for
ArchPPC or uArch.

case $CARCH in
    i686) make -f make_foo ;;
    x86_64) make -f make_bar ;;
    *) echo "$CARCH is not supported!" ;;
esac

Reply via email to