Euler/Makefile

18 lines
307 B
Makefile

PLT=$(HOME)/.platformio/penv/bin/pio
install-platform:
python3 -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"
compile:
$(PLT) run
upload:
$(PLT) run -t upload
dlist:
$(PLT) device list
monitor:
$(PLT) device monitor
all: compile upload