add run_sim to Makefile
authorJacob Lifshay <programmerjake@gmail.com>
Wed, 12 Aug 2020 21:23:58 +0000 (14:23 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Wed, 12 Aug 2020 21:23:58 +0000 (14:23 -0700)
Makefile

index a0530bffb6f169acc2d24b3d04b91ea4fccd8997..80d96801d357760ed43586ac470ad05b4bef9376 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
 PYTHON3 ?= "python3"
 
+.PHONY: help Makefile gitupdate install run_sim test htmlupload
+
 gitupdate:
        git submodule init
        git submodule update --recursive
@@ -8,6 +10,10 @@ install:
        python3 setup.py develop # yes, develop, not install
        python3 src/soc/decoder/pseudo/pywriter.py
 
+run_sim: install
+       # TODO: get it to work
+       python3 src/soc/litex/florent/sim.py
+
 test: install
        python3 setup.py test # could just run nosetest3...
 
@@ -25,8 +31,6 @@ BUILDDIR      = build
 help:
        @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
 
-.PHONY: help Makefile
-
 # Catch-all target: route all unknown targets to Sphinx using the new
 # "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
 %: Makefile