slangin/Makefile

12 lines
240 B
Makefile

slangin.hex: build
cp ./build/arduino.avr.leonardo/slangin.ino.hex ./slangin.hex
build:
arduino-cli compile -b arduino:avr:leonardo -e ./slangin.ino
clean:
rm -rf ./build ./slangin.hex
run: slangin.hex
sim_arduboy -p 8 ./slangin.hex