created a Makefile
use auto where possible