0.3b5

(1) makefile for the static library
(2) makefiles cleanup