How to compile and run .C from MakeClass?

Hi

I ran into a similar problem like this

but the problem is that I have created my .C and .h files with MakeClass from the original TTree.So, how can I run my .C compiled first instead of the

.L my.C my m m.Loop();

command chain ?

thanks

Alex