Fixing makefile issues for eclipse