Set up dependency detection in makefile!!

I have been needing this a long time; I have been rebuilding everything
every time! Hurray of *Managing Projects with GNU Make*! Hurray for
Robert Mecklenburg!