slangin/Makefile

17 lines
388 B
Makefile

SOURCE=$(wildcard *.ino)
BIN=./build/aurdino.avr.leonardo/slangin.ino.hex
all: slangin.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