tAdd upload target - lego_film_processor - software for rotary photographic fil… | |
git clone git://src.adamsgaard.dk/lego_film_processor | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 975747bde9ff5ad4fce8e7fedede0c43a4d28bff | |
parent fb0e3f1729b62745879abd2f81fca160eb7f5a06 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 12 Jul 2019 15:33:09 +0200 | |
Add upload target | |
Diffstat: | |
M Makefile | 5 ++++- | |
1 file changed, 4 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -3,10 +3,13 @@ NQC = nqc | |
default: $(OUT) | |
+upload: $(OUT:.rcx=.nqc) | |
+ sudo nqc -S/dev/ttyUSB0 -d $< | |
+ | |
%.rcx: %.nqc | |
$(NQC) $< | |
clean: | |
$(RM) *.rcx | |
-.PHONY: clean | |
+.PHONY: clean upload |