move clang-specific makefile goop to clang makefile.