Switched test project to C, (rudimentary) command line parsing, still working out most elegant target syntax