revise Makefile and main.c to Ubuntu-compatible
revise readme