title: multi package makefile example for go
body: <p>I'm trying to setup a multi package go project something like</p>
  
  <p>./main.go</p>
  
  <p>./subpackage1/sub1_1.go</p>
  
  <p>./subpackage1/sub1_2.go</p>
  
  <p>./subpackage2/sub2_1.go</p>
  
  <p>./subpackage2/sub2_2.go</p>
  
  <p>where main.go imports both subpackage1 and subpackage2. And subpackage2 imports subpackage1.</p>
  
  <p>Ive been looking around for go makefile examples but I can't find anything that supports this kind of set-up. Any idea?</p>