added makefiles and updated them