Shell version of _do_make