To program an Arduino UNO or compatibles (ATMEGA-328P based), type make flash PGPORT=/dev/ttyACM0 where the PGPORT=... specifies the serial port device associated with the Arduino target: $ make flash ...