final makefile and rshell.cpp