Make makefile and main