Simplify main makefile, split into separate makefiles for each component