get makefile working