How to build the 'example' projects ?

I am trying to correctly build the programs in the llvm/examples
directory and can't find how to.

Sorry, problem solved.
I was trying to compile in the source directory itself.
Is there a 'Mark as Solved' type of convention here ?

No. But you can change the subject like this:

  [Solved] Re: [LLVMdev] How to build the 'example' projects ?

Cheers,
chenwj