Makefile fixes: Library build, targets

Changed the build command for the static library to include all objects
and added .PHONY for the targets that do not create files of the same
name.
Merge pull request #34 from marhry/makefile_fix

Makefile fixes: Library build, targets