code gen for updated makefiles