fix macro, use parens around arguments.
fix header and add a makefile so I can test in isolation.
add git support files