add makefile to compile all source cpp files