1
0
Fork 0
mirror of https://github.com/Luzifer/espsms.git synced 2024-12-20 09:51:22 +00:00
espsms/Makefile
Knut Ahlers 442fb5d5e6
Document usage in Makefile
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-07-19 19:58:14 +02:00

15 lines
306 B
Makefile

default: format
.env:
grep -Eo 'sysenv.[A-Z_]*' platformio.ini | sed -E 's/sysenv.(.*)/\1=/' >.env
@echo "/!\ Sample environment created, please adjust!"
false
format:
clang-format -i --style Google -Werror src/*
deploy: .env
envrun -- platformio run -t upload
monitor:
platformio device monitor