merge *.cpp to *.hpp