update c++ makefile $ lib output