mirror of
https://github.com/filiprojek/auto-awning-close.git
synced 2024-11-02 10:32:28 +01:00
Added: Makefile
This commit is contained in:
parent
56660f3957
commit
ba4664fde5
22
Makefile
Normal file
22
Makefile
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user