If you want quick compilation (for compute_50) modify Makefile.am: change all compute_30/sm_30 into compute50/sm_50 and get rid of compute_35/sm35 strings.
Thanks to that compilation takes ca 15 minutes but ccminer will work only on maxwell cards with compute 5.0.
That's a great tip - so much quicker! Thanks