Makefile modified for various mains