Q:

How can I tell premake to generate a Makefile that uses clang?

I would like to build my application using clang when generating a Makefile (gmake toolchain).  Is there a way to do this?

A:

Here is what I use, it works for me:
--  ugly hack to use clang
premake.gcc.cc  = 'clang'
premake.gcc.cxx = 'clang++'

Nothing else seemed to work at all.

