create makefile using config variables