Organise source files by target