made Makefile a little more generic