added makefile reading writing compiles.