compile one file at a time