python: split Makefile into smaller files

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>