Made make file more flexible.