slightly more intelligent compiling, but the single bin/build for all things is not great.
tests only done if requested. removed spurious comment. replaced some literals with variables.
Merge pull request #392 from btbonval/makefile_fixes

Makefile fixes