add all directories and makefile to compile only main