env.Replace(CC='clang')
env.Append(BUILDERS={'CodeGenerator': code_generator})
sources = env.CodeGenerator(file)
env.Program('say_hello', sources)
Configuring SCons to use separate tools for code generation and assembly