create makefile magic