correction in makefile generation