Updated Makefile logic.