slangin/Makefile

12 lines
228 B
Makefile

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