add meminfo and install
fix makefile