got it compiling whole directories at a time using input and output dirs