Split Makefile into pieces