slangin/Makefile

15 lines
370 B
Makefile
Raw Normal View History

2022-06-18 12:24:23 -05:00
SOURCE=$(wildcard *.ino)
BIN=./build/aurdino.avr.leonardo/slangin.ino.hex
2022-06-15 12:47:42 -05:00
2022-06-18 12:24:23 -05:00
$(BIN): $(SOURCE)
2022-06-16 23:25:49 -05:00
arduino-cli compile -b arduino:avr:leonardo -e .
2022-06-15 12:47:42 -05:00
2022-06-18 12:24:23 -05:00
slangin.hex: $(BIN)
cp ./build/arduino.avr.leonardo/slangin.ino.hex ./slangin.hex
2022-06-15 12:47:42 -05:00
run: slangin.hex
2022-06-18 12:24:23 -05:00
sim_arduboy -k 1073741906,1073741905,1073741904,1073741903,104,116 -p 6 ./slangin.hex
clean:
rm -rf ./build ./slangin.hex