]> Pileus Git - ~andy/csm213a-hw/blobdiff - vis/makefile
Add output event and more messages
[~andy/csm213a-hw] / vis / makefile
index 26271df3f0ed32dd58ce08a3bc7da1e30d6987b6..fff2900b4891e90201f11670158593295bb0bdc0 100644 (file)
@@ -1,5 +1,16 @@
-run:
+default: main
+
+main:
        python -u ./main.py
 
+test:
+       python -u ./test.py gtk serial xively
+
 clean:
-       rm -rf *.pyc __pycache__
+       rm -rf *.pyc */*.pyc __pycache__ */__pycache__
+
+dist: clean
+       rm -rf python python.zip
+       mkdir  python
+       cp -a *.py xively python
+       zip -r python.zip python