abinfo "Building asmc ..."
if ab_match_arch amd64; then
    make asmc YACC=1 MASM=1 debug=1
else
    make asmc YACC=1 MASM=1 debug=1 x86=1
fi

abinfo "Installing asmc ..."
# FIXME: The script hardcoded the installation path
install -Dvm755 "$SRCDIR"/asmc -t "$PKGDIR"/usr/bin/

if ab_match_arch amd64; then
    abinfo "Building asmc64 ..."
    make asmc64 YACC=1 MASM=1 debug=1

    abinfo "Installing asmc64 ..."
    install -Dvm755 "$SRCDIR"/asmc64 -t "$PKGDIR"/usr/bin/
fi
# Other stuff is not distributed and resolving them manually seems complex.
# Currently only build and install the main compiler.
