update makefile generation