If simply typing make yambo produces un error such as :
undefined reference to `MAIN__'you need to run the YAMBO configure by yourself specifying ./configure -nofor_main for intel compiler of ./configure -Mnomain for PGI. If you do not manage to solve the problem go to YAMBO official web site (http://www.yambo-code.org) for specific information.