a better Makefile
a working version now.