Sync Makefile.in with sampleextension's.

 Cleanup the generation of the object file and executable.