tAdd upload target - lego_film_processor - software for rotary photographic film processor with Lego Mindstorms RCX
HTML git clone git://src.adamsgaard.dk/lego_film_processor
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 975747bde9ff5ad4fce8e7fedede0c43a4d28bff
DIR parent fb0e3f1729b62745879abd2f81fca160eb7f5a06
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 12 Jul 2019 15:33:09 +0200
Add upload target
Diffstat:
M Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
DIR 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