Updated make system for sam3