Fix the make file for easy customization.
Change the whole makefile for more flexibility.