improve Makefile and add client.*pp