Improved Makefile with separate directories for objects and binaries.