Compile and run files in separate directory.