SOURCE=$(wildcard *.ino) BIN=./build/aurdino.avr.leonardo/slangin.ino.hex $(BIN): $(SOURCE) arduino-cli compile -b arduino:avr:leonardo -e . slangin.hex: $(BIN) cp ./build/arduino.avr.leonardo/slangin.ino.hex ./slangin.hex run: slangin.hex sim_arduboy -k 1073741906,1073741905,1073741904,1073741903,104,116 -p 6 ./slangin.hex clean: rm -rf ./build ./slangin.hex