Create makefile and main file