Completely replaced Makefile structure.