Add makefile.

Notice: Due to a lack of time the makefile is incomplete and untested.