Advanced makefile
Change project's main source file name to main
Generic rules to get source and object files name