auto-awning-close/Makefile

23 lines
458 B
Makefile
Raw Permalink Normal View History

2024-05-21 13:02:26 +02:00
# Makefile for Arduino project using PlatformIO
# Adapted from: https://git.microlab.space/microlab/dod-rfid/src/branch/master/makefile
PROJECT_DIR = $(CURDIR)
PLATFORMIO_BIN = /bin/pio
all: build upload
build:
$(PLATFORMIO_BIN) run -d $(PROJECT_DIR)
upload:
$(PLATFORMIO_BIN) run -d $(PROJECT_DIR) -t upload
clean:
$(PLATFORMIO_BIN) run -d $(PROJECT_DIR) -t clean
monitor:
$(PLATFORMIO_BIN) device monitor
.PHONY: all build upload clean monitor