add main.cpp makefile