add main.cpp Makefile