Some makefile refactors to make experimentation easier

Thanks for all your "bare metal" projects! I had these for quiet a while, I made them to test clang C backend round-tripping. I hope you can pick them up, as they may be useful for other experimentat(ors/ions).