title: How to create a Makefile for java with multiple files directories
body: <p>I'am trying to create a Makefile to compile a project in Java, I maked the project with NetBeans but i need to creat the .jar by the  terminal.<br/><br/>
  The directory estructure is this:</p>
  
  <pre><code>Project/src/domain
  Project/src/domain/controllers
  Project/src/domain/controllers/drivers
  Project/src/presentation
  Project/src/persistence
  </code></pre>
  
  <p>In all that directories i have .java but i want to make a <code>Project/bin/clases</code> folder where to save al the .class.<br/>
  Tha Main class is <code>Project/src/presentation/Main.java</code></p>
  
  <p>Can anyone helpme to find a way to compile this project with Makefile ?</p>