s/^\([-a-zA-Z0-9_]*\.obj\)/\$\(OBJDIR\)\\\1/g s/^[-a-zA-Z0-9_\\\/]*[\/\\]\([a-zA-Z0-9_]*\.obj\)/\$\(OBJDIR\)\\\1/g