changing makefile according to newly added main function