After c64f38ae6d3591e4b94f6ba8659e7ddf30446a14 we can't compile if we had multiple .ino or .pde files. (The support for multiple files was anyways broken before #39 ) One approach is to concatenate all files together into one big .cpp file and compile that. Arduino IDE does this together with some more preprocessing at https://github.com/arduino/Arduino/blob/master/app/src/processing/app/preproc/PdePreprocessor.java I am open for other suggestions as well.