title: Convert MakeFile to command line input or bazel
body: <p>I am currently working on a project that that specifically is asking me to not use a Makefile to build all of the dependencies because their entire repo uses bazel to build files instead. I have zero knowledge on MakeFile. I want to know how to convert the following Makefile to command line arguments that I can then throw into a simply Python script. Thank you in advance! Your solution is greatly appreciated!</p>
  
  <pre><code># Minimal makefile for Sphinx documentation
  #
  
  # You can set these variables from the command line.
  SPHINXOPTS    =
  SPHINXBUILD   = sphinx-build
  SOURCEDIR     = .
  BUILDDIR      = _build
  
  # Put it first so that "make" without argument is like "make help".
  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
      @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
  </code></pre>