moved Makefile generation from cppgen.py into xbsvgen (so that all makefile are made from xbsvgen)