c++ - default make target builds only the client
c++ - CXXFLAGS added to the link rule, to link with pthread library properly