add python3 env-var if not set in Makefile
[soc.git] / Makefile
index 185a0d223124d60253041a59d1f53835adc84df3..da5a74c44acab213e2970d7461e112b97fbad7cd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,12 @@
+PYTHON3 ?= "python3"
+
 gitupdate:
        git submodule init
        git submodule update --recursive
 
 install:
        python3 setup.py develop # yes, develop, not install
+       python3 src/soc/decoder/pseudo/pywriter.py
 
-test:
+test: install
        python3 setup.py test # could just run nosetest3...