updated Makefile magic