summaryrefslogtreecommitdiffstats
path: root/fiz/naloga/vodnaraketa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fiz/naloga/vodnaraketa/Makefile')
-rw-r--r--fiz/naloga/vodnaraketa/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/fiz/naloga/vodnaraketa/Makefile b/fiz/naloga/vodnaraketa/Makefile
new file mode 100644
index 0000000..921476a
--- /dev/null
+++ b/fiz/naloga/vodnaraketa/Makefile
@@ -0,0 +1,23 @@
+default:
+ @echo "*** vodna raketa *** 🚀"
+ @echo "recepti:"
+ @echo " - p: naloži knjižnice"
+ @echo " - c: prevede v strojno kodo"
+ @echo " - u: nalozi na mikrokontroler"
+ @echo " - n: pobriše generirane direktorije in datoteke iz tega direktorija"
+ @echo "imeti morate python3-pip"
+ @echo "to je vse, hvala"
+
+c:
+ pio run
+
+u:
+ pio run --target uploadfs
+ pio run --target upload
+
+p:
+ pip install -U platformio
+ pio run
+
+n:
+ pio run --target clean