wordclock: added a Makefile, main

master
Michael Hope 4 years ago
parent 8174e85c90
commit f11308e4e8

@ -0,0 +1,11 @@
SRC = $(wildcard *.py)
run:
ampy -p /dev/ttyUSB? run clock.py
put: $(SRC:%.py=put-%.stamp)
ampy -p /dev/ttyUSB? ls
put-%.stamp: %.py
ampy -p /dev/ttyUSB? put $*.py
cp -a $< $@

@ -0,0 +1,9 @@
import wordclock
def main():
wordclock.main()
if __name__ == '__main__':
main()
Loading…
Cancel
Save