4 ms·
People have written Makefiles for arduino-projects, for example this project: https://github.com/sudar/Arduino-Makefile https://github.com/sudar/Arduino-Makefi
by stevekemp 8y ago
People have written Makefiles for arduino-projects, for example this project:
https://github.com/sudar/Arduino-Makefile https://github.com/sudar/Arduino-Makefile
To be honest the simpler way is to do it "by hand", if you enable the appropriate options in your arduino IDE you can see the actual compilation-commands which are executed. Copy and paste them to a Makefile..
I'm very familiar with make, etc, but still use the IDE for my Arduino projects (simple as they might be). I just use Emacs as an external editor.