Fixing issue #3 and cleaning up makefile for installation.
Merge https://github.com/pieman72/adhoc