Finally wrote make files.