title: How to to execute a Makefile from a server
body: <p>Hi I'm completly knew to Ant files and makefiles. I have a file structure that was setup by someone else. They basically have an ant file that is executed from a Makefile. The ant file builds all the js scripts into one file and all other files related to the project. </p>
  
  <p>I have a few questions I want to ask here before I run the script. </p>
  
  <ol>
  <li>Can I execute a Makefile from a server. I have SSH access to the
  server and its folders via terminal. Can I add a command to terminal
  that will execute the Makefile on the server.</li>
  <li>The makefile has 3 setup modes, the ones I'm interested in are the
  first 2. Mostly the debug build.</li>
  </ol>
  
  <blockquote>
    <p>release :     $(ANT_EXE) -f $(ANT_FILE) "build release"</p>
    
    <p>debug :   $(ANT_EXE) -f $(ANT_FILE) "build debug"</p>
  </blockquote>
  
  <p>The file name is just Makefile</p>
  
  <ol>
  <li>How would I execute the file using just the debug</li>
  </ol>
  
  <p>Thanks</p>