slangin/Makefile

17 lines
388 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-19 13:56:25 -05:00
all: slangin.hex
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