update pc9.cpp and Makefile